diff --git a/rust-for-bitcoiners-2/QandA_for_assignment_1.md b/rust-for-bitcoiners-2/QandA_for_assignment_1.md new file mode 100644 index 00000000..905d80c1 --- /dev/null +++ b/rust-for-bitcoiners-2/QandA_for_assignment_1.md @@ -0,0 +1,41 @@ +## This contain all disscussions and topic realted to assignment 1 caesar_cipher +### The following disscussions was hearded from the assignment of cesar_cipher link to assignment 1 https://classroom.github.com/assignment-invitations/79c91fd40abedebe0bda2e1d512bfc3f/status + +![screen shot from discord](assets/assignment1/a1_d1.png) +![screen shot from discord](assets/assignment1/a1_d2.png) + +### There was a mistake in the test so this was the correct every are supposed to to pass the the test +![screen shot from discord](assets/assignment1/a1_d3.png) +![screen shot from discord](assets/assignment1/a1_d4.png) +![screen shot from discord](assets/assignment1/a1_d5.png) +![screen shot from discord](assets/assignment1/a1_d6.png) +![screen shot from discord](assets/assignment1/a1_d7.png) +![screen shot from discord](assets/assignment1/a1_d8.png) +![screen shot from discord](assets/assignment1/a1_d9.png) +![screen shot from discord](assets/assignment1/a1_d10.png) + + +### Read more: https://doc.rust-lang.org/std/vec/struct.Vec.html#method.with_capacity +![screen shot from discord](assets/assignment1/a1_d11.png) +![screen shot from discord](assets/assignment1/a1_d12.png) +![screen shot from discord](assets/assignment1/a1_d13.png) +![screen shot from discord](assets/assignment1/a1_d14.png) +![screen shot from discord](assets/assignment1/a1_d15.png) + +### Read more: https://doc.rust-lang.org/std/vec/struct.Vec.html#method.with_capacity +![screen shot from discord](assets/assignment1/a1_d16.png) + +![screen shot from discord](assets/assignment1/a1_d17.png) + +![screen shot from discord](assets/assignment1/a1_d19.png) +![screen shot from discord](assets/assignment1/a1_d20.png) +![screen shot from discord](assets/assignment1/a1_d21.png) + + +### You can read the to understand the concepts below https://rustc-dev-guide.rust-lang.org/backend/monomorph.html +![screen shot from discord](assets/assignment1/a1_d22.png) +![screen shot from discord](assets/assignment1/a1_d23.png) + + +## Check out the ASCII table it import resouce for this asssignment https://www.asciitable.com/ + diff --git a/rust-for-bitcoiners-2/assets/assignment1/a1_d1.png b/rust-for-bitcoiners-2/assets/assignment1/a1_d1.png new file mode 100644 index 00000000..bc05f67b Binary files /dev/null and b/rust-for-bitcoiners-2/assets/assignment1/a1_d1.png differ diff --git a/rust-for-bitcoiners-2/assets/assignment1/a1_d10.png b/rust-for-bitcoiners-2/assets/assignment1/a1_d10.png new file mode 100644 index 00000000..5deadcca Binary files /dev/null and b/rust-for-bitcoiners-2/assets/assignment1/a1_d10.png differ diff --git a/rust-for-bitcoiners-2/assets/assignment1/a1_d11.png b/rust-for-bitcoiners-2/assets/assignment1/a1_d11.png new file mode 100644 index 00000000..b7275931 Binary files /dev/null and b/rust-for-bitcoiners-2/assets/assignment1/a1_d11.png differ diff --git a/rust-for-bitcoiners-2/assets/assignment1/a1_d12.png b/rust-for-bitcoiners-2/assets/assignment1/a1_d12.png new file mode 100644 index 00000000..bee95188 Binary files /dev/null and b/rust-for-bitcoiners-2/assets/assignment1/a1_d12.png differ diff --git a/rust-for-bitcoiners-2/assets/assignment1/a1_d13.png b/rust-for-bitcoiners-2/assets/assignment1/a1_d13.png new file mode 100644 index 00000000..d0023c34 Binary files /dev/null and b/rust-for-bitcoiners-2/assets/assignment1/a1_d13.png differ diff --git a/rust-for-bitcoiners-2/assets/assignment1/a1_d14.png b/rust-for-bitcoiners-2/assets/assignment1/a1_d14.png new file mode 100644 index 00000000..6fc0292a Binary files /dev/null and b/rust-for-bitcoiners-2/assets/assignment1/a1_d14.png differ diff --git a/rust-for-bitcoiners-2/assets/assignment1/a1_d15.png b/rust-for-bitcoiners-2/assets/assignment1/a1_d15.png new file mode 100644 index 00000000..2e5039d4 Binary files /dev/null and b/rust-for-bitcoiners-2/assets/assignment1/a1_d15.png differ diff --git a/rust-for-bitcoiners-2/assets/assignment1/a1_d16.png b/rust-for-bitcoiners-2/assets/assignment1/a1_d16.png new file mode 100644 index 00000000..7a860a8e Binary files /dev/null and b/rust-for-bitcoiners-2/assets/assignment1/a1_d16.png differ diff --git a/rust-for-bitcoiners-2/assets/assignment1/a1_d17.png b/rust-for-bitcoiners-2/assets/assignment1/a1_d17.png new file mode 100644 index 00000000..d4be44e5 Binary files /dev/null and b/rust-for-bitcoiners-2/assets/assignment1/a1_d17.png differ diff --git a/rust-for-bitcoiners-2/assets/assignment1/a1_d19.png b/rust-for-bitcoiners-2/assets/assignment1/a1_d19.png new file mode 100644 index 00000000..141f4f4b Binary files /dev/null and b/rust-for-bitcoiners-2/assets/assignment1/a1_d19.png differ diff --git a/rust-for-bitcoiners-2/assets/assignment1/a1_d2.png b/rust-for-bitcoiners-2/assets/assignment1/a1_d2.png new file mode 100644 index 00000000..1cebc7fa Binary files /dev/null and b/rust-for-bitcoiners-2/assets/assignment1/a1_d2.png differ diff --git a/rust-for-bitcoiners-2/assets/assignment1/a1_d20.png b/rust-for-bitcoiners-2/assets/assignment1/a1_d20.png new file mode 100644 index 00000000..ec58572a Binary files /dev/null and b/rust-for-bitcoiners-2/assets/assignment1/a1_d20.png differ diff --git a/rust-for-bitcoiners-2/assets/assignment1/a1_d21.png b/rust-for-bitcoiners-2/assets/assignment1/a1_d21.png new file mode 100644 index 00000000..cf943bf8 Binary files /dev/null and b/rust-for-bitcoiners-2/assets/assignment1/a1_d21.png differ diff --git a/rust-for-bitcoiners-2/assets/assignment1/a1_d22.png b/rust-for-bitcoiners-2/assets/assignment1/a1_d22.png new file mode 100644 index 00000000..f1a195c9 Binary files /dev/null and b/rust-for-bitcoiners-2/assets/assignment1/a1_d22.png differ diff --git a/rust-for-bitcoiners-2/assets/assignment1/a1_d23.png b/rust-for-bitcoiners-2/assets/assignment1/a1_d23.png new file mode 100644 index 00000000..cdb115c2 Binary files /dev/null and b/rust-for-bitcoiners-2/assets/assignment1/a1_d23.png differ diff --git a/rust-for-bitcoiners-2/assets/assignment1/a1_d3.png b/rust-for-bitcoiners-2/assets/assignment1/a1_d3.png new file mode 100644 index 00000000..ddcecbe1 Binary files /dev/null and b/rust-for-bitcoiners-2/assets/assignment1/a1_d3.png differ diff --git a/rust-for-bitcoiners-2/assets/assignment1/a1_d4.png b/rust-for-bitcoiners-2/assets/assignment1/a1_d4.png new file mode 100644 index 00000000..6a520154 Binary files /dev/null and b/rust-for-bitcoiners-2/assets/assignment1/a1_d4.png differ diff --git a/rust-for-bitcoiners-2/assets/assignment1/a1_d5.png b/rust-for-bitcoiners-2/assets/assignment1/a1_d5.png new file mode 100644 index 00000000..d4c66a47 Binary files /dev/null and b/rust-for-bitcoiners-2/assets/assignment1/a1_d5.png differ diff --git a/rust-for-bitcoiners-2/assets/assignment1/a1_d6.png b/rust-for-bitcoiners-2/assets/assignment1/a1_d6.png new file mode 100644 index 00000000..4133d7ae Binary files /dev/null and b/rust-for-bitcoiners-2/assets/assignment1/a1_d6.png differ diff --git a/rust-for-bitcoiners-2/assets/assignment1/a1_d7.png b/rust-for-bitcoiners-2/assets/assignment1/a1_d7.png new file mode 100644 index 00000000..8f45b3a0 Binary files /dev/null and b/rust-for-bitcoiners-2/assets/assignment1/a1_d7.png differ diff --git a/rust-for-bitcoiners-2/assets/assignment1/a1_d8.png b/rust-for-bitcoiners-2/assets/assignment1/a1_d8.png new file mode 100644 index 00000000..ea81bc0e Binary files /dev/null and b/rust-for-bitcoiners-2/assets/assignment1/a1_d8.png differ diff --git a/rust-for-bitcoiners-2/assets/assignment1/a1_d9.png b/rust-for-bitcoiners-2/assets/assignment1/a1_d9.png new file mode 100644 index 00000000..0f41eb3b Binary files /dev/null and b/rust-for-bitcoiners-2/assets/assignment1/a1_d9.png differ diff --git a/rust-for-bitcoiners-2/updating_upstream_manually.md b/rust-for-bitcoiners-2/updating_upstream_manually.md new file mode 100644 index 00000000..3c189472 --- /dev/null +++ b/rust-for-bitcoiners-2/updating_upstream_manually.md @@ -0,0 +1,39 @@ +## updating your repo with upstream if there is any correction made. + +Let me try to update mine so I can explain to the others +All right, it's a bit more complicated than cloning again, it will require a rebase. I'll explain in the next message so it can eventually be pinned. + +### step1 go to your repo and add a new remote (the repo delcin is updating): +`git remote add upstream https://github.com/delcin-raj/rfb_2_2024_2.git` + +### step2 fetch from upstream: +`git pull upstream main --rebase` + +in case of conflict (happened to me), edit each conflicting file. It will have markers like these: + +` <<<<<<< HEAD +this is some content to mess with +content to append + +totally different content to merge later + new_branch_to_merge_later ` + +To select the new text, change it to something like: + +`this is some content to mess with content to append` + +There can be potentially many of these, inspect and edit every single one. + +### step 3 after fixing all conflicts, stage the conflicting files: +`git add .` + +### step4 continue rebasing: +`git rebase --continue` + +### step 5 push to your repo: +`git push origin main --force-with-lease` + +Github classroom does not update repos automatically when the template repo changes. +When someone accepts the invitation link, it will clone the template in a new repo for the student. +So, if you accepted the invitation before the change, you have to manually rebase like the above. +If you accepted after the change, it will be already right. \ No newline at end of file