Activity for Robert Dodier

  • Robert Dodier Robert Dodier posted a comment on ticket #4294

    It appears Gnuplot doesn't provide any complete reset function. The accepted answer for this question: https://stackoverflow.com/questions/64498369/total-reset-of-a-gnuplot-session has some details about working around the issue.

  • Robert Dodier Robert Dodier posted a comment on ticket #4294

    Another possibility is Gnuplot's save command, which writes current settings into a file, which can be loaded via Gnuplot's load command. I see save treats the set term value specially; one has to save save term to get the set term string! Yikes. I wonder if save has been made more comprehensible in more recent versions (I'm working with Gnuplot 5.0).

  • Robert Dodier Robert Dodier posted a comment on ticket #4294

    I encountered another example of this bug; the gnuplot_svg_background leaks from one plot to the next when plot_format is gnuplot_pipes, but not when it is gnuplot. See the examples for that in tests/rtest_plot.mac. Looking at the Gnuplot documentation (Gnuplot 5.0 for the record -- I know that's old), I see it says: (quote) The following are not affected by reset. set term set output set loadpath set fontpath set linetype set encoding set decimalsign set locale set psdir set fit Note that reset...

  • Robert Dodier Robert Dodier merged merge request #40 on Code

    update to 'apply' documentation ...

  • Robert Dodier Robert Dodier posted a comment on ticket #4330

    I don't see why Maxima should prohibit differentiating with respect to a constant. Surely it's equivalent to just renaming the variable, carrying out the operation, and naming it back again.

  • Robert Dodier Robert Dodier merged merge request #39 on Code

    restructure 'format' package table info

  • Robert Dodier Robert Dodier merged merge request #38 on Code

    Create texinfo documentation for package 'format'

  • Robert Dodier Robert Dodier posted a comment on merge request #35

    Merged into master as commit 805c385 which comprises both commits shown here. I have some follow-up questions about it which I'll raise on maxima-discuss.

  • Robert Dodier Robert Dodier updated merge request #35

    Add in support for the gnuplot "pointinterval" option to plot2d.

  • Robert Dodier Robert Dodier created ticket #4335

    MS Windows: quit after plot2d with plot_format = gnuplot causes error when trying to delete temporary file

  • Robert Dodier Robert Dodier posted a comment on ticket #4333

    @vttoth I'm inclined to look at whether a concise description of the behavior is possible; if so, then fix up the documentation, otherwise formulate a concise description and make the code match it. I would be interested to consider requiring that the second argument be a mapatom, and to assign it but not evaluate it. I'm not yet ready to claim that must be the case, only that I'm willing to consider it. If we change the behavior, we should ideally make some previous behavior an error, as opposed...

  • Robert Dodier Robert Dodier posted a comment on ticket #4333

    Here's another bit reported by @willisbl a few days ago. "To find the number of terms, makelist calls float on the difference of the fourth and third arguments. The function float looks up numerval data. So (%i1) numerval(a,7)$ (%i2) makelist(a,k,a,8); (%o2) [a,a] This is OK, I guess, but is it predictable from the user documentation? No, I don't think so."

  • Robert Dodier Robert Dodier modified ticket #4333

    makelist evals 2nd arg and doesn't report some errors

  • Robert Dodier Robert Dodier posted a comment on ticket #4333

    I'm generally in favor of fixing up stuff like that, in the interest of making it easier to predict what's going to happen. makelist being pretty commonly used, it seems like it merits special attention -- if you have any bug fixes, I would be interested to try it.

  • Robert Dodier Robert Dodier posted a comment on ticket #4332

    Thanks for the bug report. Does it work correctly for any number smaller than 13?

  • Robert Dodier Robert Dodier modified ticket #4332

    imaxima is unable to display zn_mult_table(13)

  • Robert Dodier Robert Dodier modified ticket #4331

    The function part2cont of the sym module is unable to handle cases with multiple variables

  • Robert Dodier Robert Dodier modified ticket #4331

    The function part2cont of the sym module is unable to handle cases with multiple variables

  • Robert Dodier Robert Dodier modified ticket #4242

    STYLE-WARNING in share/contrib/diffequations/odelin.lisp

  • Robert Dodier Robert Dodier posted a comment on ticket #4242

    I think it's SBCL which generates warnings like that; I've tagged it accordingly. If that's not right, we'll just change the tag.

  • Robert Dodier Robert Dodier modified ticket #4316

    difapply mostly untested in testsuite

  • Robert Dodier Robert Dodier modified ticket #4325

    Maxima can't differentiate beta function

  • Robert Dodier Robert Dodier modified ticket #4330

    'diff(CONST,VAR) should simplify to zero

  • Robert Dodier Robert Dodier posted a comment on ticket #4323

    I think there are two separate problems here. (1) About the symbol property INTERNAL, comments in the code say that it is supposed to prevent the symbol from appearing in asksign questions. Only one built-in symbol has it (namely ind) , and it is assigned to gensyms or other made-up symbols in the limit and integration code. I don't think we should worry about users assigning it to a symbol; it is not a Maxima symbol and it can't be assigned by a Maxima function. (2) About the gensym appearing in...

  • Robert Dodier Robert Dodier modified ticket #4322

    wrong answer to a complex expression of real integral

  • Robert Dodier Robert Dodier posted a comment on ticket #4308

    I've pushed commit cbf63ef to put the example shown in the original problem statement into rtest4.mac.

  • Robert Dodier Robert Dodier created ticket #4313

    floor, ceiling, unit_step need simplifications applied to noun forms

  • Robert Dodier Robert Dodier posted a comment on ticket #4308

    Ray, sounds great. Why don't you go ahead and merge the bug fix branch, I don't feel the need to review it. The changes you've mentioned make sense to me.

  • Robert Dodier Robert Dodier posted a comment on ticket #4308

    I tried this patch and after a clean build with SBCL it seems to prevent the bug from surfacing. diff --git a/src/globals.lisp b/src/globals.lisp index 6b620e0e4..c07e59414 100644 --- a/src/globals.lisp +++ b/src/globals.lisp @@ -1133,7 +1133,7 @@ (defmvar $factorflag nil "If `t' constant factor of polynomial is also factored" :properties ((evflag t))) -(defmvar $dontfactor '((mlist)) +(defmvar $dontfactor (copy-tree '((mlist))) "A list of variables with respect to which factoring is not to occur.")...

  • Robert Dodier Robert Dodier posted a comment on ticket #4308

    I seem to recall bumping into some kind of surprise when constant data are modified by a destructive operation. I think maybe it was the compiler merging identical constant expressions and then it got destructively modified somewhere. See: https://stackoverflow.com/questions/74947450/common-lisp-is-the-interpreter-or-compiler-allowed-to-coalesce-identical-consta In this case I speculate that the constant expression is ((MLIST)) and somewhere it has been modified to contain the build info list.

  • Robert Dodier Robert Dodier posted a comment on ticket #4308

    Thanks, Ray. I agree that resolving all the warnings is a worthy goal, and although doing all of them is going to be a lot of work, we can work on it a little bit at a time.

  • Robert Dodier Robert Dodier modified ticket #3669

    psubst simplifies with simp:false

  • Robert Dodier Robert Dodier posted a comment on ticket #3669

    I've bumped into this before. psubst should honor the prevailing value of the simp flag -- I guess that is what the patched version is doing above.

  • Robert Dodier Robert Dodier modified ticket #3661

    calculates geometric sum incorrectly inside integrate function

  • Robert Dodier Robert Dodier posted a comment on ticket #3661

    I've marked this as "not a bug". Osman, thanks for your interest in Maxima and taking the time to submit a ticket.

  • Robert Dodier Robert Dodier modified ticket #3627

    programmode is mostly broken

  • Robert Dodier Robert Dodier posted a comment on ticket #3627

    Probably programmode should just be expunged. There are too many ways to solve equations, and I don't think it's worth the effort to try to extend each of them to handle programmode.

  • Robert Dodier Robert Dodier posted a comment on ticket #4308

    I agree the patch is terrible in the sense that it is changing things that shouldn't make a difference; it's probably masking a deficiency in the build system, as you were saying. I wonder if it's possible to pare it down to a smaller set of variables (ideally just one), which could help us determine which files are out of order in the build system. Although it is puzzling to me that putting the variables in global.lisp doesn't produce the correct behavior, since globals.lisp is always compiled before...

  • Robert Dodier Robert Dodier posted a comment on ticket #4308

    I've attached a possible bug fix. This is just undoing some of the moving around declarations in commit fa86361. I don't see why this would fix it; it seems possible to me that there is some other problem, still invisible, which this patch is masking. However, at least this seems to make this bug go away.

  • Robert Dodier Robert Dodier modified ticket #3757

    configure script doesn't honor some --without-foo flags

  • Robert Dodier Robert Dodier modified ticket #4035

    Invisible characters should work better

  • Robert Dodier Robert Dodier modified ticket #4039

    Unicode punctuation characters should be handled as ASCII synonyms

  • Robert Dodier Robert Dodier modified ticket #2577

    Parser complains but doesn't err out on bad syntax

  • Robert Dodier Robert Dodier posted a comment on ticket #2577

    Changing the status from "maybe-fixed" to "closed" since "maybe-fixed" suggests it needs testing to verify the bug has gone away, and that testing has already been carried out.

  • Robert Dodier Robert Dodier posted a comment on ticket #190

    Ticket moved from /p/maxima/bugs/4309/

  • Robert Dodier Robert Dodier posted a comment on ticket #189

    Ticket moved from /p/maxima/bugs/4310/

  • Robert Dodier Robert Dodier posted a comment on ticket #4308

    Looks like FFACTOR assigns DISREP properties.

  • Robert Dodier Robert Dodier modified a comment on ticket #3371

    I bumped into this issue just a moment ago. I find that read_matrix("filename.csv") fails to recognize the BOM at the start of filename.csv, but S: openr("filename.csv"); read_matrix(S, 'comma) does appear to recognize, and omit, the BOM. The first thing that comes to mind is that openr is opening the file with a different character encoding than read_matrix -- my first guess is that whatever openr is doing should be copied by read_matrix. Or perhaps read_matrix should call openr to open the file...

  • Robert Dodier Robert Dodier modified ticket #3371

    read_nested_list and read_matrix give unexpected results on csv files that start with a BOM

  • Robert Dodier Robert Dodier posted a comment on ticket #3371

    I bumped into this issue just a moment ago. I find that read_matrix("filename.csv") fails to recognize the BOM at the start of filename.csv, but S: openr("filename.csv"); read_matrix(S, 'comma) does appear to recognize, and omit, the BOM. The first thing that comes to mind is that openr is opening the file with a different character encoding than read_matrix -- my first guess is that whatever openr is doing should be copied by read_matrix.

  • Robert Dodier Robert Dodier posted a comment on ticket #4308

    Tracing PDISREP and PDISREP2 seems to show the results diverge there. Looks like PDISREP2 gets a different argument in SBCL compared to Clisp. Is it possible that the wrong value has been assigned to a DISREP property? If so that suggests a problem in NEWSYM.

  • Robert Dodier Robert Dodier posted a comment on ticket #4308

    Some investigation shows that the error is coming out of RETFACTOR1, for which SBCL returns -6 where a nonatomic expression is calculated by Clisp. Here's a slightly modified case. I see that factor is called by gfactor on a modified argument. I've skipped ahead to the factor call here. $ sh maxima-local -g Loading /home/dodier/.maxima/maxima-init.mac Maxima branch_5_47_base_1182_gdc9d6aa https://maxima.sourceforge.io using Lisp SBCL 2.3.7 Distributed under the GNU Public License. See the file COPYING....

  • Robert Dodier Robert Dodier posted a comment on ticket #4308

    Hmm. I am also working on Linux x86_64, with SBCL 2.3.7 and ECL 23.9.9. With branch_5_47_base_1182_gdc9d6aa (a few commits later than the ones shown above), I see the error with both SBCL and ECL (and not with Clisp 2.49). Ray, can you try a clean build and see if that changes anything?

  • Robert Dodier Robert Dodier modified ticket #4308

    gfactor throws Lisp error

  • Robert Dodier Robert Dodier posted a comment on ticket #4308

    git bisect seems to indicate that commit [ fa86361 ] is the origin of the bug. That commit changed special variable declarations -- I speculate that special variables might be handled differently by different Lisp implementations. It would be interesting to trace different Lisps and see if the code path is the same or different, and if different, then where and why they diverge. Bear in mind that fa86361 won't build without modification -- there is a stray n at the very top of src/lmdcls.lisp which...

  • Robert Dodier Robert Dodier posted a comment on ticket #3192

    Copying message from RJF via email. """ I think this is wrong. Evaluated numerically and expanded Maxima gives -(4.934802200544679*%i)-1.5707963267948966 But the integral evaluated directly numerically (using romberg() ..) gets 0.696094.... Mathematica gets 1/8 \[Pi] (-1 + Log[16]) which is 0.696094... Exploring whether li[2] is computed wrong.. Mathematica says PolyLog[2,-1/2]//N is -0.448.. Maxima says li[2](-1/2) is -0.448.. So that's not it. Note that this expression ex can be anti-differentiated...

  • Robert Dodier Robert Dodier posted a comment on ticket #3192

    Trying the example with commit ff883f32a (post 5.47) with SBCL 2.1.11 on Linux returns a result in terms of polylogarithm functions. I don't know if it's correct. -(((%i*(12*li[2](2)-6*log(2)^2)+%pi*(24-12*log(2))+19*%i*%pi^2)/12-%i*li[2](-(1/2))-%i*li[2](-2))/4)

  • Robert Dodier Robert Dodier modified ticket #3192

    asksign: internal error, zeroa+zerob: integration prompts error

  • Robert Dodier Robert Dodier modified ticket #3191

    parsing problem: thru 3 for i in [a,b]

  • Robert Dodier Robert Dodier modified ticket #3190

    round/floor/ceiling slow for hi-precision bfloats

  • Robert Dodier Robert Dodier modified ticket #3189

    -1/taylor(x,x,0,1) => 0

  • Robert Dodier Robert Dodier modified ticket #3188

    spherical_harmonic(n,m,x,y) incorrect

  • Robert Dodier Robert Dodier modified ticket #3184

    0 * 0.0 --> 0, but 0.0 * 0 --> 0.0

  • Robert Dodier Robert Dodier modified ticket #3179

    rectform(abs(XX)) should not assume that XX is real

  • Robert Dodier Robert Dodier modified ticket #3178

    Simplify sqrt(2*x^2) with domain:complex

  • Robert Dodier Robert Dodier modified ticket #3172

    Problems related to "assume"

  • Robert Dodier Robert Dodier modified ticket #3164

    read_matrix issues

  • Robert Dodier Robert Dodier modified ticket #3165

    Incorrect integral evaluation

  • Robert Dodier Robert Dodier modified ticket #3139

    forget doesn't check argument structure

  • Robert Dodier Robert Dodier posted a comment on ticket #3138

    remove removes facts created by declare. On looking at the reference manual, I see the items for remove and forget don't specifically say that, so that could be clarified. An alternative is to extend forget to handle facts from declare but I think we don't want to go down that road.

  • Robert Dodier Robert Dodier modified ticket #3138

    forget doesn't handle facts created with declare

  • Robert Dodier Robert Dodier posted a comment on ticket #4307

    OK by me to change op to bind partswitch to false.

  • Robert Dodier Robert Dodier posted a comment on ticket #1457

    Footnote. This specific problem was fixed by commit 411e3500. I see that the test for floating point infinity is unconditional; I am thinking that it should be possible to disable it, given that one can create floating point infinity through operations other than exponentiation, so it's not generally prohibited in Maxima, if allowed by the Lisp implementation.

  • Robert Dodier Robert Dodier modified ticket #1457

    find_root() gives completely wrong result

  • Robert Dodier Robert Dodier modified ticket #2466

    carg(-1),numer => %pi

  • Robert Dodier Robert Dodier modified ticket #2454

    Lisp error from trigreduce

  • Robert Dodier Robert Dodier posted a comment on ticket #2454

    Still present post-5.47. A stack trace shows that the error stems from the function *RED calling CL:GCD with a null argument. I didn't investigate further.

  • Robert Dodier Robert Dodier modified ticket #1355

    ev doesn't work as expected with subscripted variables

  • Robert Dodier Robert Dodier modified ticket #1307

    "if" doesn't give errors for non-booleans

  • Robert Dodier Robert Dodier modified ticket #1282

    lambda[...] doesn't give error

  • Robert Dodier Robert Dodier posted a comment on ticket #1282

    I agree that lambda[[x], ...] shouldn't be treated as a function, but I'm not sure it should be an error. Something like lambda[3] could be treated as an ordinary subscripted variable (as it is now).

  • Robert Dodier Robert Dodier modified ticket #3849

    plot2d incorrectly plots |xy|+1=|x|+|y|

  • Robert Dodier Robert Dodier posted a comment on ticket #3849

    Commit [ 5cf6012 ] changes the default value of sample such that the examples of plot2d cited in this report all produce a reasonable output (the lines are a little crooked but there are two vertical and two horizontal lines in each case). There is more work that could be done on implicit plots but let's close this report and look for further problems.

  • Robert Dodier Robert Dodier modified ticket #4198

    2D Plot issue

  • Robert Dodier Robert Dodier posted a comment on ticket #4198

    I see that commit [ 5cf6012 ] changed the default value of sample, which is enough to correct the problem reported by OP. I know that there is more to do about the implicit plot sampling topic, but let's close this report and wait for additional reports about any problems detected post-5cf6012.

  • Robert Dodier Robert Dodier posted a comment on ticket #3371

    Some time ago I wrote a function inferred_encoding which is in the stringproc package. inferred_encoding is autoloading. Can someone try inferred_encoding on some examples of files which contain byte-order marks and see if it returns the correct value? Or attach some examples of such files to this bug report so that I can try them?

  • Robert Dodier Robert Dodier modified ticket #4306

    Reading tab-delimited datafiles

  • Robert Dodier Robert Dodier posted a comment on ticket #4306

    Hi Rene, thanks for the update. From what you said, the problem is the presence of ascii(9) versus ascii(11), so it seems like the problem is not in Maxima itself. I'm marking this report as "not a bug" accordingly. No problem, please open a bug report or post a message to maxima-discuss whenever you run into something. Hope this helps, and all the best.

  • Robert Dodier Robert Dodier posted a comment on ticket #4306

    Rene, looks like there are a few different things going on. First, the ASCII tab character is control-I, and since I is the 9th character, tab is ascii(9), not ascii(11) (unless you have modified the global variable ibase to allow octal number input via ibase: 8.; note that the trailing dot with no further digits indicates a decimal integer, whatever the value of ibase). If you try split(dataLine, ascii(9), true), does it work as expected? Second, can you specifically try the same operation in command...

  • Robert Dodier Robert Dodier posted a comment on ticket #4306

    Rene, thanks for the bug report. What is the error message which you are encountering? You mentioned wxMaxima; does the operation work as expected if you run it in command line Maxima instead?

  • Robert Dodier Robert Dodier posted a comment on ticket #4279

    Looks like the error is coming from POWERX in src/matrix.lisp. POWERX has already called $INVERT which returns scalar 1, and then POWERX calls CHECK which emits the error message. CHECK is essentially ensuring that its argument is a matrix, coercing a list to a matrix; maybe it should coerce a scalar to a matrix as well? Dunno. Or, maybe POWERX should be reorganized slightly to ensure that CHECK isn't called after $INVERT.

  • Robert Dodier Robert Dodier posted a comment on ticket #4302

    Well, it's unnecessary for string output to get routed through this stuff constructing an uninterned symbol -- I guess that's probably a vestige left over from when Maxima strings were implemented as Lisp symbols. I don't know how to adjust the trip through DIMENSION-ATOM but anyway it seems like if the argument is a string, it should just be output as such. I don't know without looking which function has coerced the string to a list of characters, but anyway that seems unnecessary. The bit in MAKESTRING...

  • Robert Dodier Robert Dodier modified ticket #4303

    hardcoded ASDF cache path

  • Robert Dodier Robert Dodier posted a comment on ticket #4303

    Hi Fabio, thanks for your interest in Maxima and Maxima-Jupyter. I see that you've opened a ticket on the issue tracker for maxima-jupyter over on GitHub (https://github.com/robert-dodier/maxima-jupyter/issues/127), that's great. Since this problem is specific to maxima-jupyter, we should conduct any discussion over on GitHub instead of here. I'll close this ticket and try to follow up on the other ticket.

  • Robert Dodier Robert Dodier created ticket #4302

    printf fails to output initial percent sign when tilde-m present

  • Robert Dodier Robert Dodier modified ticket #4297

    plot3d() error with Gnuplot 6

  • Robert Dodier Robert Dodier modified ticket #4285

    Unused variables in src/plot.lisp

  • Robert Dodier Robert Dodier modified ticket #3916

    if statement in function ignored while plotting

1 >