cs431
cs431 copied to clipboard
[Homework 1] Parallel Web Server with Cache (due: 2022-09-25 23:59:59)
Implement a parallel web server with cache.
-
Read this manual for general advice on homework. The manual contains skeleton code that serves as a starting point. You're going to fill out the
todo!()
s.- IMPORTANT: don't fork this repository. It'll be public!
-
You can grade your solution yourself by running
./script/grade-1.sh
in thehomework
directory. If the server's evaluation results differ from your own evaluation results, please let us know. -
Submit your code here. You can create the zip to submit as follows:
cd cs431/homework ./scripts/submit.sh ls ./target/hw-hello_server.zip # file to submit
-
IMPORTANT: only the last submission counts. Please make sure the last line of the "log" says "Score: ?? / ??".
Update: Rust is fixed to an old nightly due to a thread sanitizer bug #607 . Please rebase your homework on top of https://github.com/kaist-cp/cs431/commit/e0c5a2218f5dbd6430b02d8fa4f648a504f3af1d.
Update: I made a proper fix for #607 in https://github.com/kaist-cp/cs431/commit/46df4c1aa1657ae25889e1cb538bff09223b7d9e. Please rebase your homework on top of it.
Additionally, All submissions so far are nullified. Please submit again. The lesson: always carefully read the documentation :)
@Lee-Janggun Can you please check the cp-service.kaist.ac.kr server state? I and my friends cannot access to it - Connection Timeout - from an hour ago.
@cskwak99 can you try again now?
@cskwak99 can you try again now?
Now it works well! Thank you.
Update: I have enforced fmt and clippy in the grading script with some tweaks. (https://github.com/kaist-cp/cs431/commit/0fab2c730a6c632ec673e7a06afb9614d152ca77). All submissions so far are nullified. Please submit again.
- Now you should not see the >100 warnings that appeared when compiling your homework or when submitting.
- On the other hand, you must pass the linters to be able to (re)submit.
- Enforcing a linter forces one to write more ergonomic and correct Rust code (e.g, clippy warns when references are dropped, which is a no-op).
It seems curl is not installed yet. While installing rustup in the server, curl: command not found error appears.
@smpak19 Can you try again?
@Lee-Janggun Thank you! Solved :)
I found out that grade-1.sh no longer exists in the scripts folder. What would be the change file name of it?
I found out that grade-1.sh no longer exists in the scripts folder. What would be the change file name of it?
I updated the documentation file as well, so please check it.
I was using cs431 server according to README at kaist-cp/431 and it worked before 9/18 7-8:pm. But suddenly I can't access cs431 server via vscode ssh remote. And error is like picture1
(picture1)
So, I checked ssh-key but there is my ssh-key in authorized_keys.
(picture2)
After I googled it, I found answer that I have to delete .vscode-server but I can't delete it like picture3.
(picture3)
Do you know what should I do?
@dripcharacter
- Please open a separate issue for this, and don't use images.
- The server can lag when deleting many files at once. Do you still have the same problem after disconnecting/reconnecting?
First, sorry for mismaking issue and using images. After doing with https://stackoverflow.com/questions/67374506/visual-studio-code-remote-ssh-no-longer-working-waiting-for-server-log, I can connect to vscode ssh to cs431 server. Thank you.