[vmchecker-request] Access VMChecker Protocoale de Comunicatie si Programare Web
Valentin Gosu
valentin.gosu at gmail.com
Mon Mar 23 19:39:11 EET 2015
Doar testele includ imagini si video, sau si submisiile?
Daca studentii trimit continut video, s-ar putea sa umple spatiul foarte
repede, deoarece pot trimite de mai multe ori, si versiunile vechi se
pastreaza.
Am un script care face "curatenie", in sensul ca pastreaza numai ultima
versiune. S-ar putea sa fie nevoie sa il folosim din cand in cand.
2015-03-23 19:02 GMT+02:00 Gabi Gutu <gabi.gutu at gmail.com>:
> Multumim. Temele noastre ocupa mai mult timp din cauza ca includ si poze
> si video-uri...
>
> 2015-03-23 18:38 GMT+02:00 Valentin Gosu <valentin.gosu at gmail.com>:
>
>> Am eliberat cativa GB.
>> Cred ca o sa fie OK pentru ceva timp.
>>
>> 2015-03-23 18:11 GMT+02:00 Gabi Gutu <gabi.gutu at gmail.com>:
>>
>>> Vali, avem o problema urgenta!!! Pare sa nu mai fie spatiu pe
>>> vmchecker-ul de PW...
>>>
>>> Ne poti ajuta?
>>>
>>> IOError: [Errno 28] No space left on device
>>>
>>>
>>>
>>>
>>> 2015-03-23 10:57 GMT+02:00 Gabi Gutu <gabi.gutu at gmail.com>:
>>>
>>>> Multumesc mult, Vali!
>>>>
>>>>
>>>> O saptamana frumoasa!
>>>>
>>>> 2015-03-23 10:56 GMT+02:00 Valentin Gosu <valentin.gosu at gmail.com>:
>>>>
>>>>> Nu sunt sigur. In general asistentul se uita pe output, vede ce teste
>>>>> au trecut, si pune notele in result.vmr
>>>>> https://github.com/rosedu/vmchecker/blob/master/README.rst#grading
>>>>>
>>>>> Este posibil sa poti din script sa construiesti result.vmr, si
>>>>> teoretic acesta ar fi cel care ar aparea la rezultate.
>>>>> Feel free to experiment. :)
>>>>>
>>>>> 2015-03-23 10:52 GMT+02:00 Gabi Gutu <gabi.gutu at gmail.com>:
>>>>>
>>>>>> Multumesc mult, Vali!
>>>>>>
>>>>>>
>>>>>> Totul merge super ok. As mai avea o intrebare: presupun ca nu se
>>>>>> poate (sau este complicat) sa integram legarea punctajului final, final in
>>>>>> nota in zona "Date și depunctări", practic script-ul sa trimita undeva
>>>>>> scorul sau final?
>>>>>>
>>>>>> 2015-03-23 10:35 GMT+02:00 Gabi Gutu <gabi.gutu at gmail.com>:
>>>>>>
>>>>>>> ok. Incepusem varianta asta, dar ma gandeam ca se poate si altfel.
>>>>>>> Mersi mult!
>>>>>>>
>>>>>>> 2015-03-23 10:30 GMT+02:00 Valentin Gosu <valentin.gosu at gmail.com>:
>>>>>>>
>>>>>>>> Ai dreptate, fisierul acela exista, dar nu este incarcat in masina
>>>>>>>> virtuala.
>>>>>>>> Daca ai neaparata nevoie de username, cred ca e mai bine sa il
>>>>>>>> introduca chiar ei cumva.
>>>>>>>>
>>>>>>>> 2015-03-23 10:18 GMT+02:00 Gabi Gutu <gabi.gutu at gmail.com>:
>>>>>>>>
>>>>>>>>> Daca fac un ls imi da urmatorul continut:
>>>>>>>>>
>>>>>>>>> archive.zip
>>>>>>>>>> build.sh
>>>>>>>>>> build-stderr.vmr
>>>>>>>>>> build-stdout.vmr
>>>>>>>>>> run.sh
>>>>>>>>>> run-stderr.vmr
>>>>>>>>>> run-stdout.vmr
>>>>>>>>>> tests.zip
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Deci nu e fisierul ala. Crezi ca se poate obtine cumva username-ul
>>>>>>>>> sau incerc sa gasesc o alta solutie (sa urce ei un fisier, de exemplu)?
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> 2015-03-23 10:10 GMT+02:00 Gabi Gutu <gabi.gutu at gmail.com>:
>>>>>>>>>
>>>>>>>>>> Pai, am incercat script-ul de mai sus, care citeste din folderul
>>>>>>>>>> curent... Nu-mi afiseaza nimic... Am incercat si cu cat...
>>>>>>>>>>
>>>>>>>>>> 2015-03-23 10:07 GMT+02:00 Valentin Gosu <valentin.gosu at gmail.com
>>>>>>>>>> >:
>>>>>>>>>>
>>>>>>>>>>> Ar trebui sa se afle in aceeasi locatie cu scriptul de run si de
>>>>>>>>>>> build.
>>>>>>>>>>>
>>>>>>>>>>> 2015-03-23 10:01 GMT+02:00 Gabi Gutu <gabi.gutu at gmail.com>:
>>>>>>>>>>>
>>>>>>>>>>>> Multumesc mult. Dar unde se afla acest fisier? Am incercat sa
>>>>>>>>>>>> citesc din el si nu primesc nimic:
>>>>>>>>>>>>
>>>>>>>>>>>> while read line
>>>>>>>>>>>>> do
>>>>>>>>>>>>> echo-e "$ line \ n"
>>>>>>>>>>>>> done < submission-config
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> 2015-03-23 9:52 GMT+02:00 Valentin Gosu <
>>>>>>>>>>>> valentin.gosu at gmail.com>:
>>>>>>>>>>>>
>>>>>>>>>>>>> Da, impreuna cu testele se copiaza si un fisier numit
>>>>>>>>>>>>> submission-config ce are formatul urmator
>>>>>>>>>>>>>
>>>>>>>>>>>>> [Assignment]
>>>>>>>>>>>>> uploadtime = 2012.02.18 18:25:07
>>>>>>>>>>>>> courseid = SO
>>>>>>>>>>>>> assignment = 0-hash-linux
>>>>>>>>>>>>> storage = normal
>>>>>>>>>>>>> remotehostname = elf.cs.pub.ro
>>>>>>>>>>>>> user = dumitru.dogaru
>>>>>>>>>>>>> resultsdest =
>>>>>>>>>>>>> /home/so/vmchecker-storer/repo/0-hash-linux/dumitru.dogaru/sb_2012.02.18__18.25.07_rnd812/results
>>>>>>>>>>>>> remoteusername = so
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> 2015-03-23 9:39 GMT+02:00 Gabi Gutu <gabi.gutu at gmail.com>:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Treaba cu script-urile am rezolvat-o - am vazut ca ai
>>>>>>>>>>>>>> modificat tu in config pe care sa le ia. Merge ok. Mai ramane daca imi poti
>>>>>>>>>>>>>> spune daca pot obtine username-ul studetului.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Multumesc!
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> 2015-03-23 9:25 GMT+02:00 Gabi Gutu <gabi.gutu at gmail.com>:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Vali, mai spune-mi, te rog, cum pot actualiza script-urile
>>>>>>>>>>>>>>> de build si run? Am facut niste modificari pe pw at vmchecker
>>>>>>>>>>>>>>> pentru aceste script-uri, insa in vmchecker vad rezultatele din
>>>>>>>>>>>>>>> script-urile vechi. Se face cumva un cache pe undeva?
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> 2015-03-23 9:12 GMT+02:00 Gabi Gutu <gabi.gutu at gmail.com>:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Vali, imi poti spune, te rog, daca am posibilitatea de a
>>>>>>>>>>>>>>>> afla username-ul studentului din vmecheker? Il primesc cumva intr-un
>>>>>>>>>>>>>>>> parametru?
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> 2015-03-22 21:46 GMT+02:00 Valentin Gosu <
>>>>>>>>>>>>>>>> valentin.gosu at gmail.com>:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Salut,
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Am facut setup-ul, si am trimis o tema de test.
>>>>>>>>>>>>>>>>> Trebuie puse scripturile corecte pentru windows
>>>>>>>>>>>>>>>>> (build+run). In rest ar trebui sa mearga totul ok.
>>>>>>>>>>>>>>>>> BTW, scripturile sunt executate in cygwin.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Sa imi zici daca te pot ajuta cu ceva.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> 2015-03-22 20:45 GMT+02:00 Gabi Gutu <gabi.gutu at gmail.com>
>>>>>>>>>>>>>>>>> :
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Salut, Vali!
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Am pus masina cu Windows 7 configurata in
>>>>>>>>>>>>>>>>>> /home/apd/vmware/pw-vm-win7.zip.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Poti verifica, te rog, daca la aceasta poti face snapshot?
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Multumesc!
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> P.S.:Atentie ca dupa ce desfaci arhiva scoate un folder
>>>>>>>>>>>>>>>>>> cu numele so-vm-win7, te rog sa ii dai tu rename.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> 2015-03-22 12:23 GMT+02:00 Valentin Gosu <
>>>>>>>>>>>>>>>>>> valentin.gosu at gmail.com>:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Da... Masina cu windows la SO are gui. Tot asa...
>>>>>>>>>>>>>>>>>>> Trebuie sa instalati programele care va trebuie.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Ar fi super daca se poate rezolva asa.
>>>>>>>>>>>>>>>>>>> On Mar 22, 2015 11:26 AM, "Gabi Gutu" <
>>>>>>>>>>>>>>>>>>> gabi.gutu at gmail.com> wrote:
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Vali, dar daca am folosi masina voastra de Windows?
>>>>>>>>>>>>>>>>>>>> Crezi ca ar merge? Presupun ca aia nu e doar in CLI :p
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> On Sunday, March 22, 2015, Gabi Gutu <
>>>>>>>>>>>>>>>>>>>> gabi.gutu at gmail.com> wrote:
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Am incercat sa fac treaba asta, insa nu am reusit. Am
>>>>>>>>>>>>>>>>>>>>> ajuns la ecranul cu background mov si a intrat in freeze.
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> O sa mai vorbesc ci Cristi sa vedem daca reusim sa
>>>>>>>>>>>>>>>>>>>>> facem chestia asta, iar daca nu probabil vom renunta la testatea pe
>>>>>>>>>>>>>>>>>>>>> vmchecker pentru tema actuala.
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> On Sunday, March 22, 2015, Valentin Gosu <
>>>>>>>>>>>>>>>>>>>>> valentin.gosu at gmail.com> wrote:
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Salut Gabi,
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Dintr-un motiv se pare ca nu pot restaura
>>>>>>>>>>>>>>>>>>>>>> snapshot-uri pe VM-ul dat de tine. Crezi ca ai putea sa iei VM-ul de la SO
>>>>>>>>>>>>>>>>>>>>>> si sa instalezi pe el un gui si pachetele necesare, si sa il uploadezi la
>>>>>>>>>>>>>>>>>>>>>> loc?
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> 2015-03-21 16:50 GMT+02:00 Gabi Gutu <
>>>>>>>>>>>>>>>>>>>>>> gabi.gutu at gmail.com>:
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> Ma poti si cu urmatoarele intrebari?
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> 1. Cum pot obtine username-ul studentului in
>>>>>>>>>>>>>>>>>>>>>>>> build.sh si run.sh? Le primesc cumva ca argument? Din ce vad pe site,
>>>>>>>>>>>>>>>>>>>>>>>> (courseId, username, assignmentId) pare a fi ordinea. E ok, username-ul e
>>>>>>>>>>>>>>>>>>>>>>>> al doilea parametru?
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> Pentru ce ai nevoie de acestea?
>>>>>>>>>>>>>>>>>>>>>> Tester-ul ar trebui sa se ocupe de testarea temei,
>>>>>>>>>>>>>>>>>>>>>> indiferent de user, assignment, etc.
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> 1. Am luat un run de la o alta materie. Nu pare
>>>>>>>>>>>>>>>>>>>>>>>> sa faca altceva pe masina virtuala la are se conecteaza decat sa creeze un
>>>>>>>>>>>>>>>>>>>>>>>> golder vmcheker, sa faca un make build si sa stearga acel folder. Nu ar
>>>>>>>>>>>>>>>>>>>>>>>> trebui sa lansaeze undeva comanda catre program?
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> Fisierul de build se ocupa de compilare. Fisierul
>>>>>>>>>>>>>>>>>>>>>> de run se ocupa de rularea temei.
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> [image: --]
>>>>>>>>>>>>>>>>>>>>> Gabriel Gutu
>>>>>>>>>>>>>>>>>>>>> Web Developer
>>>>>>>>>>>>>>>>>>>>> [image: https://]*+4.0729.352.859 <%2B4.0729.352.859>*
>>>>>>>>>>>>>>>>>>>>> ro.linkedin.com/in/gabrielgutu
>>>>>>>>>>>>>>>>>>>>> about.me/gabriel.gutu
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> [image: --]
>>>>>>>>>>>>>>>>>>>> Gabriel Gutu
>>>>>>>>>>>>>>>>>>>> Web Developer
>>>>>>>>>>>>>>>>>>>> [image: https://]*+4.0729.352.859 <%2B4.0729.352.859>*
>>>>>>>>>>>>>>>>>>>> ro.linkedin.com/in/gabrielgutu
>>>>>>>>>>>>>>>>>>>> about.me/gabriel.gutu
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>> Gabriel Gutu
>>>>>>>>>>>>>>>>>> 0729 352 859
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> [image: --]
>>>>>>>>>>>>>>>> Gabriel Gutu
>>>>>>>>>>>>>>>> Web Developer
>>>>>>>>>>>>>>>> [image: https://]*+4.0729.352.859 <%2B4.0729.352.859>*
>>>>>>>>>>>>>>>> ro.linkedin.com/in/gabrielgutu
>>>>>>>>>>>>>>>> about.me/gabriel.gutu
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> [image: --]
>>>>>>>>>>>>>>> Gabriel Gutu
>>>>>>>>>>>>>>> Web Developer
>>>>>>>>>>>>>>> [image: https://]*+4.0729.352.859 <%2B4.0729.352.859>*
>>>>>>>>>>>>>>> ro.linkedin.com/in/gabrielgutu
>>>>>>>>>>>>>>> about.me/gabriel.gutu
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> [image: --]
>>>>>>>>>>>>>> Gabriel Gutu
>>>>>>>>>>>>>> Web Developer
>>>>>>>>>>>>>> [image: https://]*+4.0729.352.859 <%2B4.0729.352.859>*
>>>>>>>>>>>>>> ro.linkedin.com/in/gabrielgutu
>>>>>>>>>>>>>> about.me/gabriel.gutu
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>>
>>>>>>>>>>>> [image: --]
>>>>>>>>>>>> Gabriel Gutu
>>>>>>>>>>>> Web Developer
>>>>>>>>>>>> [image: https://]*+4.0729.352.859 <%2B4.0729.352.859>*
>>>>>>>>>>>> ro.linkedin.com/in/gabrielgutu
>>>>>>>>>>>> about.me/gabriel.gutu
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>>
>>>>>>>>>> [image: --]
>>>>>>>>>> Gabriel Gutu
>>>>>>>>>> Web Developer
>>>>>>>>>> [image: https://]*+4.0729.352.859 <%2B4.0729.352.859>*
>>>>>>>>>> ro.linkedin.com/in/gabrielgutu
>>>>>>>>>> about.me/gabriel.gutu
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>>
>>>>>>>>> [image: --]
>>>>>>>>> Gabriel Gutu
>>>>>>>>> Web Developer
>>>>>>>>> [image: https://]*+4.0729.352.859 <%2B4.0729.352.859>*
>>>>>>>>> ro.linkedin.com/in/gabrielgutu
>>>>>>>>> about.me/gabriel.gutu
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>>
>>>>>>> [image: --]
>>>>>>> Gabriel Gutu
>>>>>>> Web Developer
>>>>>>> [image: https://]*+4.0729.352.859 <%2B4.0729.352.859>*
>>>>>>> ro.linkedin.com/in/gabrielgutu
>>>>>>> about.me/gabriel.gutu
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>>
>>>>>> [image: --]
>>>>>> Gabriel Gutu
>>>>>> Web Developer
>>>>>> [image: https://]*+4.0729.352.859 <%2B4.0729.352.859>*
>>>>>> ro.linkedin.com/in/gabrielgutu
>>>>>> about.me/gabriel.gutu
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> [image: --]
>>>> Gabriel Gutu
>>>> Web Developer
>>>> [image: https://]*+4.0729.352.859 <%2B4.0729.352.859>*
>>>> ro.linkedin.com/in/gabrielgutu
>>>> about.me/gabriel.gutu
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>> --
>>>
>>> [image: --]
>>> Gabriel Gutu
>>> Web Developer
>>> [image: https://]*+4.0729.352.859 <%2B4.0729.352.859>*
>>> ro.linkedin.com/in/gabrielgutu
>>> about.me/gabriel.gutu
>>>
>>>
>>>
>>
>>
>
>
> --
>
> [image: --]
> Gabriel Gutu
> Web Developer
> [image: https://]*+4.0729.352.859 <%2B4.0729.352.859>*
> ro.linkedin.com/in/gabrielgutu
> about.me/gabriel.gutu
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cursuri.cs.pub.ro/pipermail/vmchecker-request/attachments/20150323/ae45ad47/attachment-0001.html>
More information about the vmchecker-request
mailing list