Project

General

Profile

John Abbott's activity

From 21 Nov 2020 to 20 Dec 2020

18 Dec 2020

17:45 CoCoA-5 Bug #1553: Timing SystemCommand
I have now implemented *@ElapsedTime@* (based on the standard C++ @steady_clock@).... John Abbott
16:40 CoCoA-5 Bug #1553: Timing SystemCommand
It might be possible to replace the call to the C++ function @system@, by a @fork@ and an @exec@ (or @execv@?).
I ha...
John Abbott
17:24 CoCoA-5 Design #1554: cocoa5-emacs-dir or cocoa5-root-dir?
It seems more natural to me to specify the path to the "root" directory; then all accesses to files are "downward".
...
John Abbott
17:22 CoCoA-5 Design #1554 (Closed): cocoa5-emacs-dir or cocoa5-root-dir?
In the emacs initialization lines we define *@cocoa5-emacs-dir@*.
Why do we not define *@cocoa5-root-dir@* instead? ...
John Abbott

17 Dec 2020

17:07 CoCoA-5 Bug #1553 (In Progress): Timing SystemCommand
I have searched briefly (or not-so-briefly) on internet, and it seems that C++ does not yet offer a way to measure pr... John Abbott
16:35 CoCoA-5 Bug #1553: Timing SystemCommand
First comment: using @sleep@ is perhaps not the best test. Below is what I get using bash on my Linux computer:
<pre...
John Abbott

13 Dec 2020

17:16 CoCoA-5 Bug #1552: subst: not checking args properly
@subst@ is defined in package @misc@.
The real problem appears to be in @Subst2_top@:
@x+2@ is evaluated in @ZZ/(...
John Abbott
17:13 CoCoA-5 Bug #1552 (New): subst: not checking args properly
The following shows that @subst@ can behave wrongly:... John Abbott
11:07 CoCoA-5 Design #1551: Emacs: avoid making buffer visible in 2 "windows"?
After a quick search I found the following useful link:
*@https://emacs.stackexchange.com/questions/2959/how-to-kn...
John Abbott
11:06 CoCoA-5 Design #1551 (New): Emacs: avoid making buffer visible in 2 "windows"?
In Emacs if I type @M-x cocoa5 RET@ it changes the current "window"(?) to show @*cocoa5*@ buffer even if this buffer ... John Abbott

12 Dec 2020

21:37 CoCoA-5 Design #1550 (Feedback): version number for CoCoA5 snapshot release?
I have checked in: better doc in @release-files/version@, new target in @Makefile@, new program @check-version-define... John Abbott
21:36 CoCoA-5 Bug #1512 (Feedback): Package with unexpected EOF
I have checked the code in. No test (do we need one?)
John Abbott

11 Dec 2020

21:54 CoCoA-5 Design #1550 (Resolved): version number for CoCoA5 snapshot release?
I have added a safety check. It seems to work well enough.
Tomorrow I'll check it in.
John Abbott
21:09 CoCoA-5 Design #1550: version number for CoCoA5 snapshot release?
I have now checked where the values of @COCOA5_VER_MAJ@ etc are used.
I believe it is safe if they contain alphanume...
John Abbott
14:31 CoCoA-5 Design #1550 (In Progress): version number for CoCoA5 snapshot release?
I changed the file @src/CoCoA/release-files/version@ so that the 3rd component was @3b@ (instead of just @3@).
CoCoA...
John Abbott
14:24 CoCoA-5 Bug #1512 (Resolved): Package with unexpected EOF
I think I have fixed it: it now produces this error report:... John Abbott
11:55 CoCoA-5 Design #1546 (In Progress): Improve 'describe' or 'print' for a function
If the fn comes from a package, can the name of the pkg be given (perhaps in a comment)? John Abbott
11:48 CoCoA-5 Feature #1174: package of a function --> of an identifier!
Anna has a prototype in @coclib.cpkg5@. Currently commented out -- how long has it been there??
If it were built-...
John Abbott

08 Dec 2020

14:29 CoCoA-5 Support #1548 (New): Man page for UniversalGBasis
The manual page for @UniversalGBasis@ could be clearer.
Improve it!
John Abbott

07 Dec 2020

16:17 CoCoA-5 Design #1546: Improve 'describe' or 'print' for a function
I have had a (not so) quick look at the code involved.
*@describe@* like all CoCoA commands returns no value, and th...
John Abbott

05 Dec 2020

14:15 CoCoALib Bug #1542: gfan does not "deinitialize"
I downloaded gfan (v. 0.6.2) from the official website.
The subtree layout is quite different from what I have!
Als...
John Abbott
14:02 CoCoALib Design #1529 (Feedback): INPUT questions
I have cleaned the code. All tests pass. Checking in.
John Abbott
13:55 CoCoALib Design #1547 (Closed): Require decimal mode for ostream?
In issue #1529 we have decided to require that when reading from an @istream@ the stream must be in decimal mode.
Sh...
John Abbott

04 Dec 2020

23:19 CoCoALib Design #1523 (Feedback): Input fns: action when when istream is in bad state?
I have also modified and checked in @symbol.C@
*Conclusion: input fns throw if @istream@ is not in good state*
...
John Abbott
11:57 CoCoA-5 Design #1545 (New): CoeffOfTerm: in CoCoALibSupplement
Maybe improve impl of @CoeffOfTermSparse@ in @CoCoALibSupplement.C@ around line 151?
See commented out "improved" ...
John Abbott
11:29 CoCoALib Design #1529 (Resolved): INPUT questions
Update:
* an exception is thrown if the @istream@ is not in "decimal" mode
* no spaces are allowed inside a rationa...
John Abbott

03 Dec 2020

21:31 CoCoA-5 Bug #1514 (Closed): Cocoa crashes when calling RingElems
I now have a personal CoCoA version with the new @MemPool@ code (see issue #1522 comment 10).
I have just tried the ...
John Abbott
20:30 CoCoALib Bug #1542 (In Progress): gfan does not "deinitialize"
I have uncommented the suspicious commented out call in GFAN, and everything seems to work fine now.
I hope Anna c...
John Abbott
11:48 CoCoALib Bug #1542: gfan does not "deinitialize"
Now I wonder whether I disabled the call to @deinitialize@ myself.
The problem almost certainly arises only when @...
John Abbott
20:28 CoCoALib Bug #1522: SEGV: avoid long linked lists of loaves in MemPools
I have made a first design improvement:
There is now *@MaxSliceSize@* (in bytes); if the requested slice size is gre...
John Abbott

02 Dec 2020

20:49 CoCoALib Bug #1542 (In Progress): gfan does not "deinitialize"
I have been "playing" with @MemPool@, and found that gfanlib seems to allocate 7 GMP values which are never freed.
...
John Abbott

01 Dec 2020

14:03 CoCoA-5 Feature #1541: foreach with ref to list entry?
If we choose to extend CoCoA-5, there are 2 obvious approaches:
* modify @foreach@ so that it uses references --- ob...
John Abbott
13:58 CoCoA-5 Feature #1541 (New): foreach with ref to list entry?
Julian Danner asks whether it would be possible to have a version of @foreach@ which operates on a reference to the l... John Abbott
12:13 CoCoA-5 Support #1298: How can user find the indent command?
I am tempted to remove the example of using @indent@ with 2 args: it occupies a lot of vertical space, but conveys li... John Abbott
12:08 CoCoA-5 Support #1298: How can user find the indent command?
Maybe this should be a new issue? I was surprised at what @indent@ did when given a module:... John Abbott

26 Nov 2020

16:29 CoCoALib Design #1391: RingElems: syntax with [ and ] ?
My copy works ok, but I must devise tests.
John Abbott
16:20 CoCoA-5 Feature #1536: Implement xel?
Anna will impl in CoCoAlib, and then make accessible to CoCoA-5.
John Abbott
16:06 CoCoA-5 Feature #1536: Implement xel?
One difference between @QQ[x,y,z],xel@ and @QQ[z,y,x],lex@ is that the order in which the idents are printed is diffe... John Abbott

23 Nov 2020

10:18 CoCoA-5 Design #1520 (Feedback): Replace BOOST_FOREACH by new C++14 range for syntax
I have checked in my changes. Let's hope everything works fine! John Abbott
 

Also available in: Atom