Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

discussion for week 1 assignment caesar_cipher #9

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open
41 changes: 41 additions & 0 deletions rust-for-bitcoiners-2/QandA_for_assignment_1.md
Original file line number Diff line number Diff line change
@@ -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/

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
39 changes: 39 additions & 0 deletions rust-for-bitcoiners-2/updating_upstream_manually.md
Original file line number Diff line number Diff line change
@@ -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.