Project

General

Profile

John Abbott's activity

From 04 Apr 2024 to 03 May 2024

02 May 2024

19:58 CoCoALib 0.10 hour (Feature #1815 (In Progress): JSON and UUID)
Licence John Abbott
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:46 CoCoALib 0.10 hour (Feature #1815 (In Progress): JSON and UUID)
Useful links? 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:41 CoCoALib 0.50 hour (Feature #1815 (In Progress): JSON and UUID)
First goals? Further goals? 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:29 CoCoALib 1.00 hour (Feature #1815 (In Progress): JSON and UUID)
Some notes 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
21:13 CoCoALib 0.25 hour (Feature #1667 (In Progress): GBasis over ZZ: port to CoCoALib)
Make progress! 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
21:09 CoCoALib 0.15 hour (Design #1804 (In Progress): Use long long (at least sometimes)?)
Just not to lose it John Abbott

25 Apr 2024

21:54 CoCoALib 0.10 hour (Feature #1778 (In Progress): Homogenizer)
For John John Abbott
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:53 CoCoALib 0.10 hour (Design #1414 (In Progress): Make class RingElemVector?)
Yes! John Abbott
21:49 CoCoALib 0.10 hour (Design #894 (In Progress): strict enum types: C++11 extension)
Mindless 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:46 CoCoALib 0.10 hour (Design #707 (In Progress): MatrixOrderingMod32749Impl: test and write documentation!)
Status? 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:44 CoCoALib 0.10 hour (Bug #1764 (In Progress): Verbosity messages: avoid printing BIG values)
Also... 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
21:40 CoCoALib 0.10 hour (Bug #1705 (In Progress): ProgressReporter: prepare for new loop?)
Name change 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:04 CoCoALib 1.00 hour (Feature #797 (In Progress): SmallFpImpl: make it faster)
An idea 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:26 CoCoALib 0.20 hour (Design #1787 (In Progress): Iterator design: compatible with C++STL? Advancing beyond end?)
Beyond the end 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:14 CoCoALib 0.50 hour (Support #1814 (In Progress): Ensure tests do not need too much RAM)
Memory leak 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
22:05 CoCoALib 0.10 hour (Design #1804 (In Progress): Use long long (at least sometimes)?)
Unconvinced 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
21:57 CoCoALib 0.20 hour (Design #1572 (Resolved): Use noexcept)
Clarification John Abbott

22 Apr 2024

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:35 CoCoALib 0.10 hour (Feature #718 (Closed): Insert calls to CheckForInterrupt)
Mostly done 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:32 CoCoALib 0.20 hour (Design #934 (In Progress): MachineInt: change semantics?)
Two designs John Abbott
21:26 CoCoALib 0.10 hour (Feature #1702 (In Progress): Use C++ attributes)
Reduce warnings 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 0.20 hour (Design #1787 (In Progress): Iterator design: compatible with C++STL? Advancing beyond end?)
noexcept 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:22 CoCoALib 0.25 hour (Design #1572 (Resolved): Use noexcept)
Iterators John Abbott
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:08 CoCoALib 0.25 hour (Design #1346 (In Progress): C++14: use the new for loop syntax where appropriate (like cocoa's foreach))
More to do 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:43 CoCoALib 0.25 hour (Design #1242 (In Progress): C++14: Use type auto where appropriate)
Code to check 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:24 CoCoALib 0.10 hour (Design #1106 (Closed): Remove READLINE from CoCoALib)
Configure script John Abbott
20:21 CoCoALib 0.15 hour (Feature #1218 (Closed): 32-bit or 64-bit preprocessor macro?)
Resolved 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 0.50 hour (Bug #1811 (Feedback): Check include guards)
Pragma 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:06 CoCoALib 0.20 hour (Bug #986 (In Progress): GFan: require version newer than 0.6)
Still no macro John Abbott
20:00 CoCoALib 0.25 hour (Bug #1719 (Closed): FactorINT has got worse)
Good enough! 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:51 CoCoALib 0.25 hour (Bug #1733 (Resolved): FactorINT: funny order)
Changed doc John Abbott

19 Apr 2024

22:10 CoCoA-5 0.25 hour (Bug #1794 (Resolved): Do not use random inside tests!!)
More tests to check John Abbott
22:10 CoCoA-5 Bug #1794 (Resolved): Do not use random inside tests!!
@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

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:46 CoCoALib 0.10 hour (Slug #1394 (Resolved): Oddly slow GBasis computation (slow final cleanup))
Another example? 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:40 CoCoALib 0.50 hour (Support #1666 (In Progress): MachineInt: chase through ULL changes)
Undo? John Abbott
22:29 CoCoALib 0.30 hour (Design #925 (In Progress): MachineInt or long for args which are indices (yet again))
More thoughts 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:27 CoCoALib 0.10 hour (Design #1804 (In Progress): Use long long (at least sometimes)?)
Not yet John Abbott
22:22 CoCoALib Design #1804: Use long long (at least sometimes)?
Winfried Bruns sent the following response by email:... John Abbott
22:22 CoCoALib 0.20 hour (Design #1804 (In Progress): Use long long (at least sometimes)?)
Normaliz John Abbott
10:14 CoCoALib 0.20 hour (Design #1804 (In Progress): Use long long (at least sometimes)?)
Avoid LL/ULL in user interface 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
19:05 CoCoALib 0.20 hour (Support #1814 (In Progress): Ensure tests do not need too much RAM)
Cause found 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 0.10 hour (Support #1814 (In Progress): Ensure tests do not need too much RAM)
Anna will investigate John Abbott
10:09 CoCoALib 0.10 hour (Design #1800 (In Progress): Conversion from SmallPrime to UNSIGNED long?)
Try it? 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 0.10 hour (Feature #828 (In Progress): MachineInt: function for checking that value is greater than some lower limit (and below MAXLONG))
Need a new central issue 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 0.10 hour (Support #1666 (In Progress): MachineInt: chase through ULL changes)
Reconsider? 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

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
09:20 CoCoALib 0.20 hour (Design #1804 (In Progress): Use long long (at least sometimes)?)
No typedef John Abbott

13 Apr 2024

22:21 CoCoALib Design #1804 (In Progress): Use long long (at least sometimes)?
Nico sent the following comment by email:... John Abbott
22:21 CoCoALib 0.20 hour (Design #1804 (In Progress): Use long long (at least sometimes)?)
John Abbott
22:18 CoCoALib 0.40 hour (Design #1801 (In Progress): BuildInfo)
List 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
19:08 CoCoA-5 0.20 hour (Design #1709 (Closed): Test tut-CoCoLA2)
Checked in John Abbott

09 Apr 2024

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
21:53 CoCoALib 0.10 hour (Design #1804 (In Progress): Use long long (at least sometimes)?)
Concern John Abbott
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
20:55 CoCoALib 0.25 hour (Support #1814 (In Progress): Ensure tests do not need too much RAM)
Not sure John Abbott

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
21:42 CoCoALib 0.75 hour (Support #1814 (In Progress): Ensure tests do not need too much RAM)
Uff! John Abbott
20:57 CoCoALib 0.50 hour (Support #1814 (In Progress): Ensure tests do not need too much RAM)
Strange! 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
20:26 CoCoALib 0.20 hour (Bug #1662 (Resolved): txt2tags: problem with filenames containing "_" or "-")
Seems OK John Abbott
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

07 Apr 2024

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:48 CoCoALib 0.10 hour (Support #1814 (In Progress): Ensure tests do not need too much RAM)
CooA-5 tests John Abbott
22:18 CoCoALib 0.10 hour (Support #1814 (In Progress): Ensure tests do not need too much RAM)
Some progress 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 0.20 hour (Support #1814 (In Progress): Ensure tests do not need too much RAM)
Some notes 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:53 CoCoALib 0.50 hour (Slug #1813 (In Progress): Some tests have become slower)
Some notes 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:49 CoCoALib 0.20 hour (Bug #1662 (Resolved): txt2tags: problem with filenames containing "_" or "-")
Close? 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
20:41 CoCoA-5 0.40 hour (Design #1709 (Closed): Test tut-CoCoLA2)
Modified John Abbott
 

Also available in: Atom