Janggun Lee

Results 60 comments of Janggun Lee

**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:...

**Update**: I have enforced [fmt](https://rust-lang.github.io/rustfmt/?version=v1.5.1&search=) and [clippy](https://doc.rust-lang.org/nightly/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...

> 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...

@dripcharacter 1. Please open a separate issue for this, and don't use images. 2. The server can lag when deleting many files at once. Do you still have the same...

* An option may be to provide a playground-link that is pre-filled. E.g, if the task is to print hello world, one will be given the following link https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=8a9ad6fc2541d36b816b265a70b6599d *...

Are you talking about the raw pointer inside `MutexGuard` for `self` in `Cursor::find`? Then yes, you should check if it is a null pointer, before you try to lock it....

If you have _just a_ `Mutex`, since you are owning a type means it is valid. The reason why you needed to null-check the value inside the `MutexGuard` in `Cursor::find()`...