Project

General

Profile

Activity

From 25 Mar 2024 to 23 Apr 2024

23 Apr 2024

22:26 Design #1787: Iterator design: compatible with C++STL? Advancing beyond end?
A quick look on StackOverflow found a discussion which claims that the C++ standard says that advancing an iterator b... John Abbott
22:14 Support #1814: Ensure tests do not need too much RAM
I created a memory leak in the gcd function for multivariate polynomials over a finite field. I have a first fix, an... John Abbott
22:05 Design #1804: Use long long (at least sometimes)?
While it might give slightly better performance to use @(unsigned) long long@ in some internal chinese-remaindering f... John Abbott
21:57 Design #1572: Use noexcept
What I meant to say in comment 9 above is: if we choose a design for iterators where @operator*@ never throws then we... John Abbott

22 Apr 2024

22:39 Design #1572: Use noexcept
According to the C++ standard, a function is either not-throwing or potentially-throwing. The ... Nico Mexis
21:22 Design #1572: Use noexcept
Another question is about @operator*@ for iterators: if an error is thrown when "beyond the end" then it cannot be @n... John Abbott
21:35 Feature #718 (Closed): Insert calls to CheckForInterrupt
This has been mostly done. Comment 13 above is a good strategy.
Current state is good enough, so closing.
John Abbott
21:32 Design #934: MachineInt: change semantics?
There are 2 designs for @MachineInt@
# internal repr is @unsigned long@ and an extra bit to indicate that the true v...
John Abbott
21:26 Feature #1702 (In Progress): Use C++ attributes
We should try to reduce the number of warnings (esp. when compiling in "debug" mode).
Then we can consider attribute...
John Abbott
21:24 Design #1787: Iterator design: compatible with C++STL? Advancing beyond end?
If iterator operators can throw then they cannot be @noexcept@ (obviously!). See issue #1572
Not sure how important...
John Abbott
21:08 Design #1346: C++14: use the new for loop syntax where appropriate (like cocoa's foreach)
Some files still need tp be updated: I think the "morse" files need to be updated.
The "JB" files look to scary to t...
John Abbott
20:43 Design #1242: C++14: Use type auto where appropriate
* @DynamicBitset@ uses iterators explicitly; maybe switch to @auto@?
* possibly review @TmpJB...@ code too?
* @Long...
John Abbott
20:24 Design #1106 (Closed): Remove READLINE from CoCoALib
The @configure@ script was changed some time ago; now it is clear which options are relevant to CoCoALib and which to... John Abbott
20:21 Feature #1218 (Closed): 32-bit or 64-bit preprocessor macro?
This has effectively been resolved by issue #1661. The solution there assumes **either 64-bit or 32-bit @long@**; ot... John Abbott
20:15 Bug #1811 (Feedback): Check include guards
John Abbott
20:15 Bug #1811: Check include guards
Thanks to Nico for the suggestion about @#pragma@. I read also the discussion about its pros and cons -- it is not c... John Abbott
20:06 Bug #986: GFan: require version newer than 0.6
I have not found any suitable macro in the gfanlib sources (v.0.6.2).
Without Anders's help we cannot really do much...
John Abbott
20:00 Bug #1719 (Closed): FactorINT has got worse
The current impl is good enough. It behaves well enough on the two "big" test examples listed above. If we really w... John Abbott
19:51 Bug #1733 (Resolved): FactorINT: funny order
I have adopted the simple solution of changing the documentation: previously it said nothing about the order of the f... John Abbott

18 Apr 2024

16:38 Feature #937: LinDepMill: Mill for linear dependencies
LinDepMill could also be used by MakeTermOrdMat. Anna Maria Bigatti
16:37 Feature #937 (In Progress): LinDepMill: Mill for linear dependencies
I have implemented the (hidden but present) function ShapeLemma which returns the whole lex-GB when the MinPoly has m... Anna Maria Bigatti

16 Apr 2024

22:46 Slug #1394: Oddly slow GBasis computation (slow final cleanup)
This might be another example where "final clean up" is not instant:... John Abbott
22:40 Support #1666 (In Progress): MachineInt: chase through ULL changes
I have just removed @long long@ from @MachineInt@ (and had to change one call in @BigIntOps.C@)
There are actually *...
John Abbott
22:29 Design #925: MachineInt or long for args which are indices (yet again)
Indices into matrices (and other indexable objects, _e.g._ @ModuleElem@?) must be non-negative.
As already noted ind...
John Abbott

15 Apr 2024

22:27 Design #1804: Use long long (at least sometimes)?
I think we are close to a decision: not to use @(unsigned) long long@ except perhaps internally.
I don't regard it a...
John Abbott
22:22 Design #1804: Use long long (at least sometimes)?
Winfried Bruns sent the following response by email:... John Abbott
10:14 Design #1804: Use long long (at least sometimes)?
My current thoughts are that we should avoid using LL/ULL in any (normal) user interfaces, but we may use them intern... John Abbott
19:05 Support #1814: Ensure tests do not need too much RAM
Anna thinks she has found the cause. She'll do some more tests to confirm; then we hope to fix it.
John Abbott
10:09 Support #1814: Ensure tests do not need too much RAM
*Anna* plans to investigate today John Abbott
10:09 Design #1800 (In Progress): Conversion from SmallPrime to UNSIGNED long?
I am quite tempted just to try changing the automatic conversion, but this should probably also be done with some oth... John Abbott
10:08 Feature #828: MachineInt: function for checking that value is greater than some lower limit (and below MAXLONG)
I think we need a new central issue regard possible redesign of @MachineInt@
John Abbott
10:05 Support #1666: MachineInt: chase through ULL changes
I wonder if this change should be reconsidered in light of the discussion in #1804?
John Abbott

14 Apr 2024

20:44 Design #1804: Use long long (at least sometimes)?
To be honest, I would also rather keep support for 32-bit platforms instead of using e.g., ... Nico Mexis
09:20 Design #1804: Use long long (at least sometimes)?
The more I think about making a "typedef", the less I am convinced. For convenience I shall suppose it is called *@C... John Abbott

13 Apr 2024

22:38 Design #1804: Use long long (at least sometimes)?
> Personally I was hoping to drop support for 32-bit platforms, but long on MinGW is only 32-bits.
Actually, MinGW...
Nico Mexis
22:21 Design #1804 (In Progress): Use long long (at least sometimes)?
Nico sent the following comment by email:... John Abbott
22:18 Design #1801 (In Progress): BuildInfo
Here is a list of CPP symbols beginning with *@COCOA_@*
* @COCOA_ULONG2LONG@
* @COCOA_ULONGLONG2LONGLONG@
* @COCOA...
John Abbott

10 Apr 2024

11:47 Support #1814: Ensure tests do not need too much RAM
Ulrich von der Ohe wrote:
> @test-RadicalMembership1.C@ did not change from 0.99824 to 0.99850. Do you think the 20-...
Anna Maria Bigatti

09 Apr 2024

23:31 Support #1814: Ensure tests do not need too much RAM
John Abbott wrote:
> * there was a bug in @IsInRadical@ which meant that it always returned @true@ IIRC
@test-Rad...
Ulrich von der Ohe
20:55 Support #1814: Ensure tests do not need too much RAM
I'm not sure if I am recalling correctly the time-line...
* there was a bug in @IsInRadical@ which meant that it alw...
John Abbott
14:31 Support #1814: Ensure tests do not need too much RAM
John Abbott wrote:
> I'm not surprised by the change in resources needed for @test-RadicalMembership1.C@ since the t...
Ulrich von der Ohe
21:53 Design #1804: Use long long (at least sometimes)?
I am a bit concerned that *@long long@* may incur unnecessary overhead on some platforms.
We could also have a CoC...
John Abbott
14:21 Bug #1662: txt2tags: problem with filenames containing "_" or "-"
John Abbott wrote:
> Did we use a workaround?
The workaround introduced in #1662#note-4 is indeed in effect in ne...
Ulrich von der Ohe

08 Apr 2024

21:42 Support #1814: Ensure tests do not need too much RAM
My idea did not produce much gain (neither regarding time nor memory requirement).
There's a loop somewhere which is...
John Abbott
20:57 Support #1814: Ensure tests do not need too much RAM
It is not clear to me why @test-SparsePolyRing1-b.C@ should have become slower by a factor of 2.
I'm not surprised b...
John Abbott
16:18 Support #1814: Ensure tests do not need too much RAM
I realize that this issue was intended to be about something else. Feel free to move my posts as you see fit -- sorry... Ulrich von der Ohe
16:05 Support #1814: Ensure tests do not need too much RAM
... Ulrich von der Ohe
12:23 Support #1814: Ensure tests do not need too much RAM
... Ulrich von der Ohe
20:26 Bug #1662 (Resolved): txt2tags: problem with filenames containing "_" or "-"
I have advanced this issue to *resolved* since it seems to be OK now -- thanks Nico for the clarification!
Anna is a...
John Abbott
15:31 Bug #1662: txt2tags: problem with filenames containing "_" or "-"
I am using txt2tags 3.9 and it works fine on my end as well. This issue was only related to txt2tags 2.7-dev (commits... Nico Mexis

07 Apr 2024

23:17 Support #1814: Ensure tests do not need too much RAM
The tests @test-RadicalMembership1@ and @test-SparsePolyRing2@ are the only ones where memory usage considerably wors... Ulrich von der Ohe
22:48 Support #1814: Ensure tests do not need too much RAM
Strictly this is not CoCoALib but CoCoA-5.
I ran the CoCoA-5 tests with about 0.5GiB memory: there was 1 failure, na...
John Abbott
22:18 Support #1814 (In Progress): Ensure tests do not need too much RAM
Assuming that @ulimit -v@ does what I think/hope it does, I confirm that the only test to fail with a limit of @25000... John Abbott
21:57 Support #1814: Ensure tests do not need too much RAM
On my linux box the command *@ulimit -v 1048576@* will limit memory use to 1GiB (which seems a reasonable limit to me... John Abbott
21:55 Support #1814 (In Progress): Ensure tests do not need too much RAM
Ulrich also reported that *@test-SparsePolyRing2@* now needs about 3GiB of RAM at some point. That is rather a lot!
...
John Abbott
21:53 Slug #1813 (In Progress): Some tests have become slower
I think the slow down may be due to a change in code in radical (of ideals)" I believe we now speculatively try to co... John Abbott
21:49 Slug #1813 (In Progress): Some tests have become slower
Ulrich reports by email that the test *@test-SparsePolyRing2@* has become significantly slower; also perhaps @test-Sp... John Abbott
20:49 Bug #1662: txt2tags: problem with filenames containing "_" or "-"
*AnnA* can you check whether this issue can now be closed?
Ulrich reports that 0.99850 is OK with txt2tags-2.6; I s...
John Abbott

06 Apr 2024

15:34 Bug #1662: txt2tags: problem with filenames containing "_" or "-"
The files released as 0.99850 work for me with txt2tags 2.6 (the latest stable 2.x version) as well as with txt2tags ... Ulrich von der Ohe

31 Mar 2024

20:35 Bug #1811: Check include guards
Just a small question to throw in the room: Might it be worth considering to migrate to ... Nico Mexis

29 Mar 2024

10:37 Bug #1812 (New): Documentation: indexXX.html should be recompiled if version has changed
There is no dependency on configuration/version in doc/Makefile for index...html.
(on the other hand the pdf manual ...
Anna Maria Bigatti
08:25 Design #1753: Clean up EulerTotient, InvTotient jungle in NumTheory-misc
set to 100% (after being closed) Anna Maria Bigatti
08:22 Support #1687: Release CoCoALib 0.99850

*done* Redmine Roadmap: close or postpone issue
*done* Redmine Release issues: check percentages, check timi...
Anna Maria Bigatti

28 Mar 2024

23:10 Bug #1661 (Closed): Microsoft: cannot compile with signal handling
I think Nico said it is OK now. Closing!
John Abbott
23:04 Bug #1811 (Resolved): Check include guards
Also the interpreter has CPP symbols without the CoCoA prefix. Is that right?
John Abbott
23:00 Bug #1811 (Feedback): Check include guards
Some files have include guards without the @CoCoA_@ prefix... John Abbott
15:12 Support #1810: Release CoCoALib 0.99900
Release issues:
https://cocoa.dima.unige.it/redmine/projects/cocoalib/issues?query_id=49
Here is a list of the ma...
Anna Maria Bigatti
15:11 Support #1810 (New): Release CoCoALib 0.99900
Everything related to making a CoCoALib release:
Redmine Roadmap: close or postpone issue
Redmine Release...
Anna Maria Bigatti
10:15 Feature #1206 (Closed): syz, SyzOfGens: which shifts for zero?
Updated documentation submodule.txt (need proper example ex-syz.C)
Updated CoCoA-5 test test-syz, cvs-ed and include...
Anna Maria Bigatti
08:15 Feature #1206: syz, SyzOfGens: which shifts for zero?
restored "final decisions" in description removed by mistake. Anna Maria Bigatti
08:12 Feature #1206: syz, SyzOfGens: which shifts for zero?
added documentation for CoCoA-5 Anna Maria Bigatti
08:45 Feature #1809 (New): Make ex-syz.C
Dealing with syzygies is non-trivial, expecially with shifts.
There is a dedicated function NewFreeModuleForSyz whic...
Anna Maria Bigatti
07:35 Feature #1808: New constructor for PolyRing with elimination ordering
This issue originates #78 (for CoCoA-5).
However, elimination orderings are widely used in CoCoALib (not just for el...
Anna Maria Bigatti
07:31 Feature #1808 (In Progress): New constructor for PolyRing with elimination ordering
New syntax @NewPolyRingElim(....)@ would be handy, and also easily transferred to CoCoA-5.
Design its interface (eg:...
Anna Maria Bigatti

27 Mar 2024

17:47 Feature #1206 (Resolved): syz, SyzOfGens: which shifts for zero?
Still to do: documentations showing how to deal with 0 entries, in CoCoALib and in CoCoA5 Anna Maria Bigatti
17:43 Feature #1206: syz, SyzOfGens: which shifts for zero?
Anna Maria Bigatti wrote:
> Should we make @SyzOfGens@ obsolescent? does it do anything more than calling @syz(gens...
Anna Maria Bigatti
17:31 Feature #598: Syzygy for modules: non-homogeneous module
I moved this issue from CoCoA-5 to CoCoALib Anna Maria Bigatti
17:24 Feature #598 (In Progress): Syzygy for modules: non-homogeneous module
Anna Maria Bigatti

26 Mar 2024

17:19 Feature #1667: GBasis over ZZ: port to CoCoALib
Michele Toriell is asking for this. There was C++ from when i was in Passau: dig it out, and blow the dust off.
John Abbott
17:14 Feature #598: Syzygy for modules: non-homogeneous module
Good idea to make comprehensive tests.... perhaps not easy.
Why "feedback" and 10% complete?
John Abbott
10:02 Feature #598 (Feedback): Syzygy for modules: non-homogeneous module
This issue is old.
I'm making a test file test-sys.cocoa5.
I'll update and write there what we have working for hom...
Anna Maria Bigatti
14:36 Design #582: Error codes: use same code for "not poly ring" and "not elem poly ring"
I think this has been agreed upon a long time ago, as explained in #582-3.
Moreover the recent addition of the conte...
Anna Maria Bigatti
14:22 Design #1807 (New): Error codes: "Not..." for "blah must be ..." -- change prefix
In the general picture of improving the error codes, I suggest a trivial (though extensive) change.
Look at these na...
Anna Maria Bigatti
11:50 Feature #1793: Use ErrorContext instead of string FnName
Added also to NewFreeModuleForSyz. Anna Maria Bigatti
10:42 Feature #1206: syz, SyzOfGens: which shifts for zero?
Anna Maria Bigatti wrote:
> This is my suggestion: implement a new function @syz0@ which allows 0s in the input (giv...
Anna Maria Bigatti

25 Mar 2024

19:31 Design #1804: Use long long (at least sometimes)?
Personally I was hoping to drop support for 32-bit platforms, but @long@ on MinGW is only 32-bits. Does MinGW offer ... John Abbott
19:29 Design #1804 (In Progress): Use long long (at least sometimes)?
Winfried Bruns suggested in issue #1661 to consider using *@long long@* wherever we want more than 32-bits.
Investig...
John Abbott
19:16 Feature #1797: Add a function CleanupGens making some easy cleaning on the generators?
This might be a separate issue: should there also be a similar function which "prepares" the generators for computin... John Abbott
19:06 Feature #1803 (New): Improve trivial operations with ideal whose GBasis is [1]
Sum is clever -- if HasGBasis(I) and is ideal(1).
Do the same for product and for other similar operations....
Anna Maria Bigatti
19:05 Design #1802: Tidying ideal generators (for non-polynomial ideals)
First steps:
* remove 0 generators
* if any generator is 1 (or invertible) then the ideal is 1
* for integer ideal...
John Abbott
19:02 Design #1802 (New): Tidying ideal generators (for non-polynomial ideals)
Generalize the ideas of issue #1647 to other types of ideal (and modules?)
John Abbott
19:02 Design #1647 (Closed): Suppress zero from ideal generators? Detect 1 and simplify generators?
Moving note-33 (product) to another issue, because not related to generators. Anna Maria Bigatti
18:13 Design #1647: Suppress zero from ideal generators? Detect 1 and simplify generators?
Sum is clever -- if HasGBasis(I) and is ideal(1)
Do it also for product....
Anna Maria Bigatti
18:51 Design #1801: BuildInfo
The function for CoCoA-5 is VersionInfo() defined in BuiltingFunctions.C Anna Maria Bigatti
18:49 Design #1801: BuildInfo
We need to consider the behaviour both in CoCoALib and in CoCoA-5.
Anna suggests that it is more helpful to mainta...
John Abbott
18:47 Design #1801 (In Progress): BuildInfo
Three things:
* why do some preprocessor flags have prefix *@COCOA_@* while others have *@CoCoA_@* ?
* for whom are...
John Abbott
18:18 Bug #1661 (Resolved): Microsoft: cannot compile with signal handling
John Abbott
09:32 Bug #1661: Microsoft: cannot compile with signal handling
Anna Maria Bigatti wrote:
> Add the value of this flag to "VersionInfo()" in CoCoA-5 (work for me)
and in BuildI...
Anna Maria Bigatti
09:30 Bug #1661: Microsoft: cannot compile with signal handling
Add the value of this flag to "VersionInfo()" in CoCoA-5 (work for me) Anna Maria Bigatti
18:05 Bug #1726 (Closed): Dangling references to temporaries
I believe I have made all necessary changes. So closing -- it works fine for us... John Abbott
17:55 Design #1720: DivAlg in CoCoALib
to be improved (see Nicolas Jagersma code using GPoly) Anna Maria Bigatti
17:49 Design #1800: Conversion from SmallPrime to UNSIGNED long?
We have long tried to avoid unsigned values because they can cause inconvenient, silent, automatic conversions.
But ...
John Abbott
17:47 Design #1800 (In Progress): Conversion from SmallPrime to UNSIGNED long?
Currently there is an "implicit" conversion from @SmallPrime@ to @signed long@.
Should the conversion instead be to ...
John Abbott
17:49 Design #1649 (Closed): Add file SparsePolyOps-vector.C
Anna Maria Bigatti
09:06 Design #1649: Add file SparsePolyOps-vector.C
Anna Maria Bigatti wrote:
> I suggest having all headers in SparsePolyOps-RingElem.H (well indicated) and the "vecto...
Anna Maria Bigatti
08:22 Design #1649: Add file SparsePolyOps-vector.C
After trying to rearrange the header files I found this problem.
There are functions on vectors of RingElem need hea...
Anna Maria Bigatti
08:12 Design #1649 (Resolved): Add file SparsePolyOps-vector.C
After closing I realized that the "coefficients" functions were missing and that the .H files were not aligned.
Stil...
Anna Maria Bigatti
07:42 Design #1649 (Closed): Add file SparsePolyOps-vector.C
Anna Maria Bigatti wrote:
> Add syz and syz0 (allowing 0s) for vector of RingElem
*syz* should stay in @submodule...
Anna Maria Bigatti
 

Also available in: Atom