{{indexmenu_n>10000}} ====== Homeworks ====== Homeworks should be submitted into your personal git repository. There will be a new repository for each homework. Your repositories can be found at [[http://gitlab.fel.cvut.cz]] after logging in using your FELid. All your homework repositories are placed in B151_a{e}4m36tpj group. **All your homeworks must be successfuly submitted (i.e. must pass all tests) till the end of the 13th week.** ===== Accessing your repository ===== To download (clone) your repository from server to your local machine run: ''git clone '' When finished, commit all the changes you have made by ''git commit'' and push the repository to server by ''git push''. Automatic test runs every time you perform the push operation. ===== HW 1 ===== * Assignment: {{:courses:a4m36tpj:tutorials:2015-hw1-assignment.pdf|}} * Template: {{:courses:a4m36tpj:tutorials:hw1.zip|}} (already included in your git repository) * Results of test runs can be found at http://cigsvc.felk.cvut.cz/~tpj/hw1/.txt ===== HW 2 ===== * Assignment: {{:courses:a4m36tpj:tutorials:2015-hw2-assignment.pdf|}} * Template: {{:courses:a4m36tpj:tutorials:hw2.zip|}} (already included in your git repository) * Symbolic C - Examples: {{:courses:a4m36tpj:tutorials:2015-hw2-symbolicc-example.zip|}} * Results of test runs can be found at http://cigsvc.felk.cvut.cz/~tpj/hw2/.txt ===== HW 3 ===== * Assignment: {{:courses:a4m36tpj:tutorials:2015-hw3-assignment.pdf|}} * Template: {{:courses:a4m36tpj:tutorials:hw3.zip|}}(already included in your git repository) * Results of test runs can be found at http://cigsvc.felk.cvut.cz/~tpj/hw3/.txt /* ===== HW 2 ===== * Assignment: {{courses:A4M36TPJ:homeworks:2014-hw2-assignment.pdf|}} * Results of test runs can be found at http://cigsvc.felk.cvut.cz/~tpj/hw2/.txt ===== HW 3 ===== * Assignment: {{courses:A4M36TPJ:homeworks:2014-hw3-assignment.pdf|}} */ /* Results of test runs can be found at http://cigsvc.felk.cvut.cz/~tpj/hw2/.txt */ /* Your hw2 repository and template file will be ready in few days. You can now use the following example to play with Symbolic-C in //Mathematica//: {{courses:A4M36TPJ:homeworks:2014-hw2-symbolicc-example.zip|}}. Please do not upload this file into gitlab repository, it's just a Mathematica notebook playground - not ready for automatic evaluation. */ /* {{indexmenu>.#1 | tsort msort}} Homeworks will be submitted into your personal Git repository. To access your personal repository we need your public key. Please upload your public key in the format //username.pub// to the directory shared on Google drive using this URL: https://drive.google.com/a/fel.cvut.cz/folderview?id=0B5sNc7_OU3qYSkRDUGNvZUVXSUE&usp=sharing This directory can be accessed only when you are authenticated through your university account. For more information see: http://google-apps.fel.cvut.cz/ If you don't know how to generate ssh key see: http://git-scm.com/book/en/Git-on-the-Server-Generating-Your-SSH-Public-Key To check what repositories you have access to, run: ''ssh git@cigsvc.felk.cvut.cz'' use your key to login. If you are using multiple keys, you can specify the correct one by ssh configuration file ''~/.ssh/config''. An example configuration: Host cigsvc IdentityFile ~/.ssh/key_file_name User git HostName cigsvc.felk.cvut.cz Then you can access the server by ''ssh cigsvc'' (it will automatically use the full address and user name from the configuration file). ===== Accessing your repository ===== To download (clone) your repository from server to your local machine run: ''git clone git@cigsvc.felk.cvut.cz:repository_name'' for example, user with login name //bukz1// should run: ''git clone git@cigsvc.felk.cvut.cz:students/a4m36tpj-zs1314-bukz1-hw1'' to access repository for first homework. When finished, commit all the changes you have made by ''git commit'' and push the repository to server by ''git push''. Automatic test runs every time you perform the push operation. */ /* ===== Repository and Test System Info ===== ==== Repositories ==== * URL of your personal repository is https://cvut.repositoryhosting.com/svn/cvut_tpj-/ * Browsing-friendly URL of your repository is https://cvut.repositoryhosting.com/trac/cvut_tpj-/browser * Your repository login name is tpj_ * Passwords are not synced with the university network **In case of any problems make sure you use command-line-based Subversion client.** GUI clients are (and have been) fairly unreliable in nonstandard situations. ==== Test System Limitations ==== All tests are run in batches every day at 2:05, 4:05, 6:05 etc. In order to achieve a certain level of quality for everyone, your code has to adhere to the following conditions: first, it may write to both standard output and standard error output, however, any output beyond 10 KiB gets truncated. Second, running time of each test (i.e. your code and test code combined) can not exceed 360 seconds (except for the third assignment, it easy to write code with running time well under 1 s). The output of ''java -version'' is java version "1.7.0_03" Java(TM) SE Runtime Environment (build 1.7.0_03-b04) Java HotSpot(TM) Server VM (build 22.1-b02, mixed mode) Your submissions may make use of Google Guava library version 13.0.1. ==== Current Status of Test System ==== * [[http://sitr-pise.felk.cvut.cz/status/modifiedRepos/|List of freshly modified repositories not downloaded to the test subsystem]] * [[http://sitr-pise.felk.cvut.cz/status/repoInfos/|''svn info'' outputs]] * [[http://sitr-pise.felk.cvut.cz/status/queuedRepos/|List of repositories enqueued for testing]] * [[http://sitr-pise.felk.cvut.cz/status/activeTests.txt|List of active tests]] * [[http://sitr-pise.felk.cvut.cz/status/users/|Latest homework logs]] * [[http://status.repositoryhosting.com/|repositories status (in case of any problems, please contact lecturers, not RepositoryHosting.com)]] ==== Logs ==== * [[http://sitr-pise.felk.cvut.cz/logs/notificationsLog.txt|Log of events sent between repositories and the download subsystem]] * [[http://sitr-pise.felk.cvut.cz/logs/downloadLog.txt|Log produced by the download subsystem]] * [[http://sitr-pise.felk.cvut.cz/logs/users/|All logs (including past ones) produced by the test subsystem]] ==== API ==== * [[http://sitr-pise.felk.cvut.cz/api/enqueue.html|From for manual addition of your repository into the list of modified repositories]] ===== Homework Assignments ===== [[homeworks/first|First]], [[homeworks/second|second]], [[homeworks/third|third]], [[homeworks/fourth|fourth]], [[homeworks//fifth|fifth]]. */