jm.evers

Toutes mes réponses sur les forums

20 sujets de 1 à 20 (sur un total de 147)
  • Auteur
    Messages
  • jm.evers
    Participant
    Up
    0
    Down
    ::

    Hi,

    Thanks to Olivier Bado, the chroot can be downloaded from:

    https://wims.univ-cotedazur.fr/download/wims/chroot/wims.chroot.debian.6.1.90-1.x86_64.tar.gz

    joke

    jm.evers
    Participant
    Up
    0
    Down
    ::

    Hi,

    I’ve made a chroot (574Mb) for wims, based on Debian bookworm (version 6.1.90-1 2024/5/03 x86_64) using the latest versions of incorporated software.

    Where feasable, the programs are compiled ‘static’

    If you would like to use this, send me an email

    kind regards,

    joke

    jm.evers
    Participant
    Up
    0
    Down
    ::

    Hi,

    In an ideal world the (linux 64bit) chroot should be checked and/or updated for every new wims release…

    But for most the most part exercises should work fine, except for a few modules that use more recent versions / features of pari/gp, GNUplot or octave…

    joke evers

    ps
    It’s no rocket science to create your own chroot !

    • Cette réponse a été modifiée le il y a 1 année par jm.evers.
    en réponse à : trange canvasdraw #7740
    jm.evers
    Participant
    Up
    0
    Down
    ::

    Could you give an example of the code that is causing you trouble ?

    en réponse à : trange canvasdraw #7736
    jm.evers
    Participant
    Up
    0
    Down
    ::

    well in the oef-help-docs, command ‘plot’, it says:

    use command trange in parametric functions before every command curve / plot
    A next parametric curve will only be correctly plot when trange is set again !
    this is a design flaw and not a feature…

    In any case, I will look into this « design »-flaw

    joke

    • Cette réponse a été modifiée le il y a 2 années et 2 mois par jm.evers.
    • Cette réponse a été modifiée le il y a 2 années et 2 mois par jm.evers.
    en réponse à : trange canvasdraw #7735
    jm.evers
    Participant
    Up
    0
    Down
    ::

    Hi,

    I will look into the ‘reset’ of the flag ‘use_parametric’ in canvasdraw.
    The javascript based command ‘jsplot’ has no problems…

    joke

    en réponse à : dépassement capacité affichage courbes avec Canvasdraw #7670
    jm.evers
    Participant
    Up
    0
    Down
    ::

    Well, it’s even beyond control of canvasdraw.h and canvasdraw…
    The error messages on all (!) public wims servers are related to the HTTP request:

    Request-URI Too Long
    The requested URL’s length exceeds the capacity limit for this server.
    Apache/2.4.54 (Debian) Server at wims.univ-cotedazur.fr Port 443

    So any text string of this length sent to wims via http (direct exec or createxo) will produce an error…

    joke

    en réponse à : dépassement capacité affichage courbes avec Canvasdraw #7668
    jm.evers
    Participant
    Up
    0
    Down
    ::

    hi,
    The size of the memory buffer is set in canvasdraw.h
    #define MAX_BUFFER 65536
    Which is already larger (2x) than normal data buffers within wims.

    But if you have total control over your wims server, you can simply
    increase it and recompile !

    joke

    en réponse à : dessiner des portions de fonctions sur un même graphe #7472
    jm.evers
    Participant
    Up
    0
    Down
    ::

    Hi,
    Added (SVN) to canvasdraw a new command :
    newrange xmin,xmax,ymin,ymax
    objects defined after command will make use of this new range
    Be aware -for now- there can be only one command ‘grid’
    An additional grid in the newly defined x/y-range must be created manually
    (e.g. using commands like ‘segments’ ‘string’ etc etc etc)
    [code]
    size 400,400
    xrange -10,10
    yrange -10,10
    fontfamily Italic 12px Courier
    axis
    axisnumbering
    precision 1
    grid 1,1,orange,10,10,2,orange
    newrange 0,5,0,5
    jscurve red,3*x+2
    zoom red
    [/code]

    Hope this solves your issue…

    joke

    en réponse à : dessiner des portions de fonctions sur un même graphe #7470
    jm.evers
    Participant
    Up
    0
    Down
    ::

    Hi,
    There is no way to (re)define multiple xrange/yrange in canvasdraw -if I understand your problem correctly… But mayb BPR’s trange trick may suit your needs.
    A much more powerful grapher/plotter like GNUplot is probably better advised.
    http://www.gnuplot.info/demo/

    joke

    • Cette réponse a été modifiée le il y a 2 années et 7 mois par jm.evers.
    en réponse à : surcharge par un grand nombre de requêtes #7298
    jm.evers
    Participant
    Up
    0
    Down
    ::

    Hi,
    You should try and set explicitly permissions wims:wims
    For instance using something like
    find /var/wims -type f -exec chown wims:wims "{}" ";"

    Joke

    en réponse à : dashtype avec canvasdraw #7213
    jm.evers
    Participant
    Up
    0
    Down
    ::

    Hi,
    Corrected…use latest svn version
    Thank You for noticing !

    joke

    en réponse à : dashtype avec canvasdraw #7211
    jm.evers
    Participant
    Up
    0
    Down
    ::

    Hi,

    This issue has been signalled before and don’t know how to correct it…
    But we will look into it again.

    To clearly demonstrate the issue :
    #####
    size 400,400
    xrange -10,10
    yrange -10,10
    noreset
    dashtype 6,6
    dashed
    arrow -10,4,10,-9,10,blue
    arrow -10,4,10,-8,10,blue
    arrow -10,4,10,-7,10,blue
    arrow -10,4,10,-6,10,blue
    arrow -10,4,10,-5,10,blue
    arrow -10,4,10,-4,10,blue
    arrow -10,4,10,-3,10,blue
    arrow -10,4,10,-2,10,blue
    arrow -10,4,10,-1,10,blue
    arrow -10,4,10,0,10,blue
    arrow -10,4,10,1,10,blue
    arrow -10,4,10,2,10,blue
    arrow -10,4,10,3,10,blue
    arrow -10,4,10,4,10,blue
    arrow -10,4,10,5,10,blue
    arrow -10,4,10,6,10,blue
    arrow -10,4,10,7,10,blue
    arrow -10,4,10,8,10,blue
    arrow -10,4,10,9,10,blue
    #####

    Using a smaller dashtype (2,2) will make things even worse…

    joke

    en réponse à : Géométrie interactive avec canvasdraw #7190
    jm.evers
    Participant
    Up
    0
    Down
    ::

    Hi,
    This is clearly a bug : the ‘clear button’ removes also all ‘div’ elements from the canvas. Will be corrected for next release.
    A quick fix is:

    — do not use command ‘clearbutton’ and use a right mouse click on arrow (or any other user drawn objects)
    or
    — use command ‘multidraw arrows’

    Joke

    • Cette réponse a été modifiée le il y a 2 années et 11 mois par jm.evers.
    • Cette réponse a été modifiée le il y a 2 années et 11 mois par jm.evers.
    en réponse à : userinput function #7166
    jm.evers
    Participant
    Up
    0
    Down
    ::

    Thanks for the tip!
    Added function plot to canvasdraw (uploaded to SVN)
    The createxo answer type ‘multidraw’ is of course not updated

    #####
    size 400,400
    xrange -10,10
    yrange -10,10
    fontfamily Italic 14px Helvetica
    axis
    axisnumbering
    precision 0
    grid 2,2,grey,1,1,5,black
    multicolors red,green,blue
    linewidth 2
    multidraw text,function,line
    #####

    kind regards,
    Joke

    • Cette réponse a été modifiée le il y a 3 années par jm.evers.
    • Cette réponse a été modifiée le il y a 3 années par Avatar photoOlivier. Raison: Add `...` around code
    en réponse à : userinput function #7158
    jm.evers
    Participant
    Up
    0
    Down
    ::

    Hi,
    And -for now- even writing your own answertype will not work !
    The command ‘userinput function’ is an alias for ‘userdraw function,color’
    commands ‘userdraw’ and ‘multidraw’ are mutual exclusive…eg not to be combined.
    Bernatette Perin has composed excellent live documentation in Createxo Help.Please read it..

    Joke

    en réponse à : Intervalles #6715
    jm.evers
    Participant
    Up
    0
    Down
    ::

    and using an alternative like `\lbracket \rbracket’ is not working ?

    • Cette réponse a été modifiée le il y a 3 années et 9 mois par jm.evers.
    en réponse à : Intervalles #6712
    jm.evers
    Participant
    Up
    0
    Down
    ::

    Hi, the interactive GeoGebra example can not be created using canvasdraw.
    It seems to me JSXgraph is -should be- able to show TeX…using mathjax
    JXG.Options.text.useMathJax = true;

    kind regards,
    joke

    en réponse à : Problème Latex #6498
    jm.evers
    Participant
    Up
    0
    Down
    ::

    Hi,
    I’m not sure what your problem is…but if unbalanced parenthesis is your issue, then use
    \lpar \rpar \lbrace \rbrace \lbrack \rbrack
    to avoid issues with Wims TeX processor:

    \statement{
    <div class="wimscenter">
    \(A_{i}=\Large\lpar \) \embed{reply1,6};\embed{reply2,6} \( \Large\rpar \)
    \(A_{i}=\Large\lbrace \) \embed{reply1,6};\embed{reply2,6} \( \Large\rbrace \)
    </div>
    }
    \answer{}{3}{type=numeric}
    \answer{}{3}{type=numeric}
    

    kind regards,
    joke

    • Cette réponse a été modifiée le il y a 4 années par jm.evers. Raison: typo
    en réponse à : dashed arrows not dashed in canvasdraw #6264
    jm.evers
    Participant
    Up
    0
    Down
    ::

    Uploaded to SVN a slightly improved version of canvasdraw

    • dashing will still depend on angle of the object (html5 canvas ‘flaw’)
    • dashing will still depend on individual browser
    • corrected dashing in userdraw,multidraw
    • corrected arrow head (it was dashed…)

    Thank you for noticing !
    (and please keep kicking it to find flaws and bugs !)

    joke

20 sujets de 1 à 20 (sur un total de 147)