Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
wims-info
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nicolas Thiery
wims-info
Commits
118c2eb3
Commit
118c2eb3
authored
9 years ago
by
Nicolas M. Thiéry
Browse files
Options
Downloads
Patches
Plain Diff
Mise a jour TODO et .gitignore
parent
3f107547
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitignore
+2
-0
2 additions, 0 deletions
.gitignore
TODO
+49
-21
49 additions, 21 deletions
TODO
with
51 additions
and
21 deletions
.gitignore
0 → 100644
+
2
−
0
View file @
118c2eb3
*.answer
test~coding~readingCppPrograms.fr/data/index
This diff is collapsed.
Click to expand it.
TODO
+
49
−
21
View file @
118c2eb3
* Question logique
*
QCM
Question logique
- [ ] pour ***que*** l'expression suivante ***retourne*** true.
- [ ]
* Collections de programmes + randomisation + résultat
...
...
@@ -11,41 +11,55 @@
- [ ] Randomization of the variable names
- [ ] Randomization of the output by substitution (preprocessing)
- [ ] Implement more logic in WIMS
- [ ] Onsite compilation and production of the output
- See .../docker-compile-and-run for preliminary steps toward
using docker to compile and execute the programs in a sandbox
- Next step: discuss with Bernadette to include that script (or
some equivalent) in Orsay's WIMS server, and rewrite the
module to use it.
- References:
http://askubuntu.com/questions/477551/how-can-i-use-docker-without-sudo
- [ ] Support for various programming languages, based on file extension
- [ ] Support for various programming languages, based on file extension (see below)
- [ ] Separate clearly the expected output from the rest of the text
** Programs
- variables-assign.cpp est un peu trop long
- ceux avec factorielle sont trop prévisibles sans lire le code
- obfuscated / misindented programs
- programes autour de la division entiere
- programes autour de la division entiere
** Substitution des variables?
\text{code=\wims(replace internal resultat par \resultat)}
* Onsite compilation and production of the output
** DONE Utility to compile and execute a program in a sandbox (docker container)
See file:docker-compile-and-run/docker-compile-and-run.cpp for an
experimental program.
** TODO [0/1] rewrite the module to use it.
- [ ] Avoid hardcoding the module data location
** TODO [/] Improvements
- [ ] Where to put compile-and-run.sh
- [ ] Avoid hardcoding the location of compile-and-run.sh
- [ ] Support for other programming languages
See file:docker-compile-and-run/compile-and-run.sh
** TODO Deployment
Discuss with Bernadette to include that script (or some
equivalent) in Orsay's WIMS server.
** TODO Kernel panic
https://github.com/docker/docker/issues/15057 ?
** References:
http://askubuntu.com/questions/477551/how-can-i-use-docker-without-sudo
* Choisir l'entrée pour que ...
* Écrire un programme qui ... par exemple pour n=5 ... copier coller le résultat ici
* Exercices existant: U1 / algo
Non fonctionnels en l'état (requiers un chroot qui n'est plus fonctionnel)
* Notes techniques sur WIMS
** Créer ses propres utilitaires
** Créer ses propres utilitaires
/ plugins / programmes externes
public_html/bin/sigdigits
other/bin
Si un programme est présent dans public_html/bin, il est exécutable
depuis les oef avec:
\text(toto=wims(exec ccc parametres ...)}
Il doit suivre un protocole spécifique. Le plus simple est de
mettre un programme usuel dans other/bin, avec un wrapper. Voir par
exemple toascii.
Ces programmes sont exécutables sans restriction par n'importe quel
auteur de module OEF/... Donc doivent être parfaitement sûr
\text(toto=wims(exec ccc parametres ...)}
** Créer ses programmes exécutables seulement par module de confiance
** Créer un index et chercher des infos dedans:
...
...
@@ -66,7 +80,7 @@ Mettre le module dans
** Compiler WIMS
sudo apt-get install libgd-dev
sudo apt-get install libgd-dev
./compile --mathjax
...
...
@@ -126,6 +140,20 @@ Chercher sur programmation sur le serveur
public_html/bases/sys/defaults.conf pour les valeurs par défaut
** Si on se connecte avec une certaine IP alors on est en mode debug / admin
Affiche en particulier des informations sur l'exécution
* si un programme est présent dans public_html/bin, il est exécutable depuis les oef.
* Serveur WIMS de test
https://wimstest1.di.u-psud.fr/
3/11/2015:
Serveur Centos6 similaire à WIMS installé par WIMS
docker.io installé
WIMS svn 4.11 a installé dans ~wims
voir /etc/httpd/conf/httpd.conf
Mainteneur: Julien Nauroy
Compte dévelopeur: nthiery wcloiasdf
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment