Skip to content

Commit 5153e3b

Browse files
Mukundan314leios
authored andcommitted
fix grammar (#302)
* fix grammer * Replace "an username" with "a username" * Update multiplication.md * Update multiplication.md * Update cooley_tukey.md * Update gaussian_elimination.md * Update CONTRIBUTORS.md * Update git_and_version_control.md
1 parent acc0289 commit 5153e3b

File tree

5 files changed

+17
-15
lines changed

5 files changed

+17
-15
lines changed

CONTRIBUTORS.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ Michal Hanajik
5858
<br>
5959
Bendik Samseth
6060
<br>
61+
mukundan314
62+
<br>
6163
Trashtalk
6264
<br>
63-
Cyrus Burt
65+
Cyrus Burt

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ and live coded on Twitch: https://www.twitch.tv/simuleios.
1515
If you would like to communicate more directly, please feel free to go to our discord: https://discord.gg/Pr2E9S6.
1616

1717

18-
Note that the this project is essentially a book about algorithms collaboratively written by an online community.
18+
Note that this project is essentially a book about algorithms collaboratively written by an online community.
1919
Fortunately, there are a lot of algorithms out there, which means that there is a lot of content material available.
2020
Unfortunately, this means that we will probably never cover every algorithm ever created and instead need to focus on what the community sees as useful and necessary.
2121
That said, we'll still cover a few algorithms for fun that have very little, if any practical purpose.

contents/gaussian_elimination/gaussian_elimination.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -211,11 +211,11 @@ Here I should point out that Gaussian elimination makes sense from a purely anal
211211
For small systems of equations, it's relatively straightforward to do this method by hand; however, for large systems, this \(of course\) become tedious and we will need to find an appropriate numerical solution.
212212
For this reason, I have split this section into two parts. One will cover the analytical framework, and the other will cover an algorithm you can write in your favorite programming language.
213213

214-
In the end, reducing large systems of equations boils down to a game you play on a seemingly random matrix where you have the following moves available:
214+
In the end, reducing large systems of equations boils down to a game you play on a seemingly random matrix with 3 possible moves. You can:
215215

216-
1. You can swap any two rows
217-
2. You can multiply any row by a non-zero scale value
218-
3. You can add any row to a multiple of any other row
216+
1. swap any two rows
217+
2. multiply any row by a non-zero scale value
218+
3. add any row to a multiple of any other row
219219

220220
That's it.
221221
Before continuing, I suggest you try to recreate the row echelon matrix we made above.

contents/git_and_version_control/git_and_version_control.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -276,12 +276,12 @@ The easiest way to do this (in my opinion) can be found here: [https://help.gith
276276
Note that there are a lot of good tools for this and everyone has their favorite choice.
277277
I don't expect for too many users to run into merge conflicts while working with the Algorithm Archive, so I will omit much more discussion here, but let me know if you think I should cover this in more detail.
278278
It's an incredibly difficult aspect of using git and will drive you nuts the first tie you see it, but after that, it will be much more straightforward.
279-
Also: let me know if there's any tools you like, and I'll add them to this guide here.
279+
Also, let me know if there's any tools you like, and I'll add them to this guide here.
280280

281281
### Interacting with GitHub
282282

283283
To this point, we have introduced the concept of `remote`s and how to set them up, but we have not discussed how to interact with them.
284-
For the most part, there are only a few commands to keep in mind. the easiest one to explain is
284+
For the most part, there are only a few commands to keep in mind. The easiest one to explain is
285285

286286
```
287287
git push
@@ -349,14 +349,14 @@ One way to reverse the commit completely is with
349349
git revert commit
350350
```
351351

352-
where `commit` is whatever commit you want to undo from your `git log`.
352+
Where `commit` is whatever commit you want to undo from your `git log`.
353353
Assuming you are working with a small team and don't mind having a somewhat dirty commit history where your mistakes haunt you forever in your `git log`, this is fine; however, if you want to remove the commit completely, you might need to think about using another command:
354354

355355
```
356356
git rebase
357357
```
358358

359-
the problem is that `git rebase` is complicated and could potentially destroy your codebase if it's used inappropriately.
359+
The problem is that `git rebase` is complicated and could potentially destroy your codebase if it's used inappropriately.
360360
Because of this, I often just live with my mistakes; however, in rare cases, having a clean `git log` is incredibly important.
361361
I am not a git magician (yet), so I will not delve into what is essentially black magic to me. Instead, I'll link a guide: [https://git-scm.com/book/en/v2/Git-Branching-Rebasing](https://git-scm.com/book/en/v2/Git-Branching-Rebasing).
362362

contents/my_introduction_to_hobby_programming/my_introduction_to_hobby_programming.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,19 @@ Remember how I said I couldn't get the virus software to work on my computer? Ye
2020

2121
I don't remember the exact order, but I knew the key players were there: Ubuntu, Mint, Fedora, Debian, and Arch. Now, here's where my years of gaming experience came in. I personified each distribution as a class in a game world. Ubuntu was the easy to use axe-wielding warrior that would get the job done. Fedora was the Archer in the back with a feather in his cap and a quick quip for everything. Debian was the grandmotherly spellcaster just trying to keep everyone alive. Then there was Arch, the one who rushed into combat without any armor and uses only the environment as a weapon.
2222

23-
Which one did I choose? Arch. I've always been a fan of playing the underdog characters. In fact, when I looked up what made Arch Arch, I found the [Archwiki](https://wiki.Archlinux.org/), which was absolutely beautiful and filled with any information I could ever want to know about the distribution, including a page on ["The Arch Way"](https://wiki.Archlinux.org/index.php/Arch_Linux#Principles) -- Which now redirects to a page about Archlinux principles instead. After reading through it, there was not a single shadow of a doubt in my mind. Arch was the distribution for me.
23+
Which one did I choose? Arch. I've always been a fan of playing the underdog characters. In fact, when I looked up what made Arch Arch, I found the [Archwiki](https://wiki.Archlinux.org/), which was absolutely beautiful and filled with any information I could ever want to know about the distribution, including a page on ["The Arch Way"](https://wiki.Archlinux.org/index.php/Arch_Linux#Principles) -- Which now redirects to a page about Archlinux principles instead. After reading through it, there was not a single shadow of a doubt in my mind. Arch was the distribution for me.
2424

2525
In hindsight, this could have been the most disastrous decision of my life. I hope that at this point, you understand how bad I was with computers, and a slow internet connection didn't help. The next day, I went to the store and bought a 25 pack of writable DVD's. So now for the hard part: Installation.
2626

2727
#### Step 1: Burning to a disk
2828

29-
Now, I know many of you reading think this is an easy thing to do. In fact, I also currently think it's an easy thing to do. Back then, though, it was nearly impossible. I wasted 3-4 DVD's backing up my Windows set-up, just in case. Then I wasted another 15 trying to figure out what to do. At first, I just copied the Archiso onto the disk. That obviously didn't work. It took me ~5 hours to realize that *burning* to a disk was different than simply dragging and dropping files. I then needed to figure out how to do the burning with Windows Vista. By the time I figured this out, nearly my entire stack of DVD's was gone. Oh well, lessons learned, right?
29+
Now, I know many of you reading think this is an easy thing to do. In fact, I also currently think it's an easy thing to do. Back then, though, it was nearly impossible. I wasted 3-4 DVD's backing up my Windows set-up, just in case. Then I wasted another 15 trying to figure out what to do. At first, I just copied the Archiso onto the disk. That obviously didn't work. It took me ~5 hours to realize that *burning* to a disk was different from simply dragging and dropping files. I then needed to figure out how to do the burning with Windows Vista. By the time I figured this out, nearly my entire stack of DVD's was gone. Oh well, lessons learned, right?
3030

3131
#### Step 2: Just type "root"
3232

3333
After the disk burning fiasco, I thought to myself, *Alright. It'll only get easier from here, right?* Nope. I booted up the Archiso and up popped a prompt talking about how to install Arch. I don't remember what it said exactly, but I know it mentioned that if you wanted to install Arch on a "kerosene-powered cheese grater" that you should consult the wiki. Now, here's the thing: for anyone else, this would just be an idle quip -- something to chuckle at before moving on, but I was not able to move past this prompt. Right under it was a rather surprising adversary, the phrase `Archiso login:` with a blinking cursor.
3434

35-
In my head, I knew what this meant. I needed to create my username, right? So I tried putting in what I wanted my username to be. No luck. I tried any number of different combinations of letters and characters. I even tried our wifi password. Nothing. I tried re-burning the disk a few more times, but I was still completely lost. What did they want? What was I supposed to type to move forward with the installation? I couldn't figure it out, and after hours of sitting there, looking at a blinking prompt, I started wondering if my computer was actually a kerosene-powered cheese grater and consulted the wiki, but even that wasn't particularly clear. So I googled some more, and then some more and more. Somehow, I stumbled onto a page that gave me the answer -- the magical password that would allow me access to the Arch installer:
35+
In my head, I knew what this meant. I needed to create my username, right? So I tried putting in what I wanted my username to be. No luck. I tried any number of different combinations of letters and characters. I even tried our Wi-Fi password. Nothing. I tried re-burning the disk a few more times, but I was still completely lost. What did they want? What was I supposed to type to move forward with the installation? I couldn't figure it out, and after hours of sitting there, looking at a blinking prompt, I started wondering if my computer was actually a kerosene-powered cheese grater and consulted the wiki, but even that wasn't particularly clear. So I googled some more, and then some more and more. Somehow, I stumbled onto a page that gave me the answer -- the magical password that would allow me access to the Arch installer:
3636

3737
**root**
3838

@@ -50,7 +50,7 @@ Truth be told, I learned a lot at this stage of the installation, including moun
5050

5151
In the middle of the installation, when all the packages were popping up, I remember getting a very particular error under the acronym DRDY. I didn't know what this meant. In fact, I don't think very many people did. The error said it was fatal, so I restarted the install from scratch. I got the same error, but this time in a different place, so I did the install again. And then again. And then again. I repeated the installation so many times that I had memorized every last part from start to finish. I had read all the guides online, and yet I was still getting that darned error! DRDY. What could it mean?
5252

53-
Well, I didn't know, but at that point, it was late at night and I was a bit delirious. I phonetically sounded out the error and realized it sounded like the word "dirty." I figured this meant that the hard drive was dirty, so I unplugged it , blew on the socket, and plugged it back in. No more error.
53+
Well, I didn't know, but at that point, it was late at night and I was a bit delirious. I phonetically sounded out the error and realized it sounded like the word "dirty." I figured this meant that the hard drive was dirty, so I unplugged it, blew on the socket, and plugged it back in. No more error.
5454

5555
To this day, I don't know how or why this worked.
5656

@@ -64,6 +64,6 @@ Blitz login:
6464

6565
The same as I saw in the installation before. Except this time, I didn't sit there waiting for hours, trying to figure out some password to enter my system. I simply entered my moniker and got to setting up my system.
6666

67-
I'll be honest, even though this happened almost a decade ago, it is burned into my head as one of the best learning experiences I have ever had. I am sure many, many people would have found it incredibly frustrating. They would have thrown their computer at the wall, exclaiming, "What am I supposed to do?" For me, though, it was captivating. I would never see my computer in the same way again and to this day when I pop open a terminal, I cannot help but smile a little bit.
67+
I'll be honest, even though this happened almost a decade ago, it is burned into my head as one of the best learning experiences I have ever had. I am sure many, many people would have found it incredibly frustrating. They would have thrown their computer at the wall, exclaiming, "What am I supposed to do?" For me, though, it was captivating. I would never see my computer in the same way again and to this day when I pop open a terminal, I cannot help but smile a little.
6868

6969
Basically, since the first time I was able to directly interact with my computer, I have been captivated with the idea, and though I was not able use the knowledge until much later in my life, it stuck with me and definitely shaped my perspective of the world.

0 commit comments

Comments
 (0)