Project

General

Profile

Activity

From 04 Apr 2024 to 03 May 2024

02 May 2024

19:58 CoCoALib Feature #1815: JSON and UUID
Another point to bear in mind is the licence of any library.
We already use BOOST in CoCoA-5, but I'm not sure wheth...
John Abbott
19:46 CoCoALib Feature #1815: JSON and UUID
I note the following link(s):
* *@https://www.boost.org/doc/libs/1_85_0/libs/json/doc/html/json/comparison.html@*
*...
John Abbott
19:41 CoCoALib Feature #1815: JSON and UUID
We should also decide which goals we have.
I'm expecting in Berlin to spend much of the time discussing and planni...
John Abbott
19:29 CoCoALib Feature #1815 (In Progress): JSON and UUID
Antony in Berlin says that they use *@rapidJSON@*; I did not enquire about UUIDs -- we can use an interim, makeshift ... John Abbott
19:20 CoCoALib Feature #1815 (In Progress): JSON and UUID
Investigate including a library for serializing and deserializing JSON encodings.
This includes having the ability t...
John Abbott

29 Apr 2024

21:13 CoCoALib Feature #1667: GBasis over ZZ: port to CoCoALib
It seems that we have several implementations: some in C++, and some in CoCoA-5.
The C++ versions ought to be quicke...
John Abbott

26 Apr 2024

21:09 CoCoALib Design #1804: Use long long (at least sometimes)?
Nico Mexis sent the following by email (a few days ago):... John Abbott

25 Apr 2024

21:54 CoCoALib Feature #1778: Homogenizer
This is for *JOHN* Knuckle down and do it! John Abbott
21:53 CoCoALib Design #1414: Make class RingElemVector?
*Yes!* We really should implement this, and preferably soon.
Maybe we can also include an auto conversion to @vecto...
John Abbott
21:49 CoCoALib Design #894: strict enum types: C++11 extension
This is one of those _mindless_ tasks to be done when the brain is taking a nap...
John Abbott
21:46 CoCoALib Design #707: MatrixOrderingMod32749Impl: test and write documentation!
What is the status of this issue?
Not so long ago I wrote a similar class for 64-bitters where the modulus is about ...
John Abbott
21:44 CoCoALib Bug #1764 (In Progress): Verbosity messages: avoid printing BIG values
As hinted in the main description, we should also try to limit the amount of output (unless it is important to be abl... John Abbott
21:40 CoCoALib Bug #1705: ProgressReporter: prepare for new loop?
Maybe just *@myReset@*? Or is that too vague? It is short, which I like.
So far we have been using @myPrepareForNe...
John Abbott

24 Apr 2024

23:04 CoCoALib Feature #797: SmallFpImpl: make it faster
I have just wasted quite a bit of time thus evening rediscovering this phenomenon... sigh!
I should consider making ...
John Abbott

23 Apr 2024

22:26 CoCoALib 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 CoCoALib 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 CoCoALib 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 CoCoALib 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 CoCoALib Design #1572: Use noexcept
According to the C++ standard, a function is either not-throwing or potentially-throwing. The ... Nico Mexis
21:22 CoCoALib 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 CoCoALib 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 CoCoALib 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 CoCoALib 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 CoCoALib 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 CoCoALib 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 CoCoALib 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 CoCoALib 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 CoCoALib 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 CoCoALib Bug #1811 (Feedback): Check include guards
John Abbott
20:15 CoCoALib 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 CoCoALib 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 CoCoALib 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 CoCoALib 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

19 Apr 2024

22:10 CoCoA-5 Bug #1794 (Resolved): Strange bug: demo-Osaka2015
@random@ is called harmlessly in @exbugs.cocoa5@.
We should check *@ErrMesg.cocoa5@* and *@test-ApproxSolve.cocoa5@*...
John Abbott
17:10 CoCoA-5 Design #1709 (Closed): Test tut-CoCoLA2
John Abbott

18 Apr 2024

16:38 CoCoALib Feature #937: LinDepMill: Mill for linear dependencies
LinDepMill could also be used by MakeTermOrdMat. Anna Maria Bigatti
16:37 CoCoALib 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 CoCoALib 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 CoCoALib 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 CoCoALib 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 CoCoALib 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 CoCoALib Design #1804: Use long long (at least sometimes)?
Winfried Bruns sent the following response by email:... John Abbott
10:14 CoCoALib 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 CoCoALib 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 CoCoALib Support #1814: Ensure tests do not need too much RAM
*Anna* plans to investigate today John Abbott
10:09 CoCoALib 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 CoCoALib 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 CoCoALib 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 CoCoALib 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 CoCoALib 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 CoCoALib 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 CoCoALib Design #1804 (In Progress): Use long long (at least sometimes)?
Nico sent the following comment by email:... John Abbott
22:18 CoCoALib Design #1801 (In Progress): BuildInfo
Here is a list of CPP symbols beginning with *@COCOA_@*
* @COCOA_ULONG2LONG@
* @COCOA_ULONGLONG2LONGLONG@
* @COCOA...
John Abbott

12 Apr 2024

19:08 CoCoA-5 Design #1709: Test tut-CoCoLA2
I have just checked-in the changes. They should be in the next "internal" release. Hope to resolve #1814 before mak... John Abbott

10 Apr 2024

11:47 CoCoALib 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 CoCoALib 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 CoCoALib 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 CoCoALib 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 CoCoALib 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 CoCoALib 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 CoCoALib 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 CoCoALib 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 CoCoALib 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 CoCoALib Support #1814: Ensure tests do not need too much RAM
... Ulrich von der Ohe
12:23 CoCoALib Support #1814: Ensure tests do not need too much RAM
... Ulrich von der Ohe
20:26 CoCoALib 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 CoCoALib 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 CoCoALib 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 CoCoALib 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 CoCoALib 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 CoCoALib 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 CoCoALib 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 CoCoALib 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 CoCoALib 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 CoCoALib 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
20:42 CoCoA-5 Design #1709 (Resolved): Test tut-CoCoLA2
John Abbott
20:41 CoCoA-5 Design #1709: Test tut-CoCoLA2
Ah, oops!
Since Anna did not object, I have just made the change hinted at in my comment 8 above. This should avoid...
John Abbott

06 Apr 2024

15:55 CoCoA-5 Design #1709: Test tut-CoCoLA2
John Abbott wrote:
> What do you think?
I think it would be preferable to have deterministic output (i.e. literal...
Ulrich von der Ohe
15:34 CoCoALib 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
 

Also available in: Atom