on master help sign in
corrects typos
commit5b2a095412363440aa005a7d31e74b23d81dabf0 authorJoseph Bryan <joemfb@gmail.com> dateMon 20 Jun 2016, 19:45 (10 years ago) parent64228d6
5 files changed+11−11
docs/arvo/basic.md+2−2 docs/arvo/internals/eyre/commentary.md+3−3 docs/arvo/network.md+2−2 docs/arvo/subscriptions.md+2−2 docs/hoon/exercises/fizzbuzz.md+2−2
docs/arvo/basic.md+2−2
@@ -256,10 +256,10 @@ function call, then you have to specify every argument.
256256
257257**Exercises**:
258258
259−Tweak your code to complete the following excercises.
259+Tweak your code to complete the following exercises.
260260
261261There are a few runes and some syntax that we have yet to cover that you
262−will need to complete the excercises below. For these, please refer to
262+will need to complete the exercises below. For these, please refer to
263263our cheatsheat at the bottom.
264264
2652651. Read and understand `++five` line by line.
docs/arvo/internals/eyre/commentary.md+3−3
@@ -96,7 +96,7 @@ initiates the long-polling loop, run against an injected `urb.js` of
9696
9797A `%js` `pest` is `resolve`d as a `text/javascript` success `%this`.
9898
99−When `poll.js` is recieved by the client, it opens an `XMLHttpRequest` for
99+When `poll.js` is received by the client, it opens an `XMLHttpRequest` for
100100`/~/on/{window.urb.poll}.json`, bringing us back to `%poll:process`.
101101
102102In the case of a non-`%js` `/~/on/`, `%poll:process-parsed` turns into a
@@ -167,7 +167,7 @@ the first nontrivial `++check-oryx` occurs, `++grab-body` the request oryx and
167167ensuring it is recorded for the session. The request parsed with `++need-body`
168168to a `[%auth %try {password}]` perk. `%get:process-auth` checks it against
169169`++load-secret`, upon success updates the session with `++logon:ya`, and
170−serves a fresh `auth.json` which reflects the changed `user`. Upon recieving
170+serves a fresh `auth.json` which reflects the changed `user`. Upon receiving
171171this, the page is refreshed to retry the original request.
172172
173173## Post-authentication: app communication. [#auth-ok]
@@ -212,7 +212,7 @@ Upon receipt, the client realizes the long-poll isn't actually running, so that
212212is started using `urb.poll`. At `/~/of/{ixor}`, perk
213213`[%view ixor ~ {sequence-number}]`, it is `process`ed by `++poll:ix` (the cyst
214214is retrieved by `++ire-ix` form global state, using the perk `ixor`): the
215−sequence number is in the past, so the previously recieved `%rush` is
215+sequence number is in the past, so the previously received `%rush` is
216216`++give-even`. After deleting the previous message in the queue and invoking
217217`++pass-took` to signal `%gall` of this occurrence, the data is annotated with
218218the source app+path `++subs-to-json`, and returned to the polling duct.
docs/arvo/network.md+2−2
@@ -235,7 +235,7 @@ Sometimes, the module can immediately handle the event and produce any
235235necessary results. For example, when we poked the `++poke-atom` arm
236236above, we poked %gall, our application server, which was able to respond
237237to our poke directly. When the module cannot service the request itself,
238−it sends instructions to another kernel module or application (the the
238+it sends instructions to another kernel module or application (through the
239239%gall module) to do a specified action, and produces the result from
240240that.
241241
@@ -305,7 +305,7 @@ urbit as for sending messages between apps on different urbits.
305305
306306- Write two apps, `even` and `odd`. When you pass an atom to `even`,
307307 check whether it's even. If so, divide it by two and recurse;
308− otherwise, poke `odd` with it. When `odd` recieves an atom, check
308+ otherwise, poke `odd` with it. When `odd` receives an atom, check
309309 whether it's equal to one. If so, terminate, printing "%success".
310310 Otherwise, check whether it's odd. If so, multiply it by three, add
311311 one, and recurse; otherwise, poke `even` with it. When either app
docs/arvo/subscriptions.md+2−2
@@ -59,7 +59,7 @@ And secondly, `:examples-sink`:
5959 ++ diff-noun
6060 |= {wir/wire arg/*}
6161 ^- {(list move) _+>.$}
62− ~& [%recieved-data arg]
62+ ~& [%received-data arg]
6363 [~ +>.$]
6464 ++ reap
6565 |= {wir/wire error/(unit tang)}
@@ -180,7 +180,7 @@ so you don't have to. You can access your subscribers by looking at
180180subscribed, and which path they subscribed on. If you want to
181181communicate with your subscribers, send them messages along their bone.
182182
183−`++poke-noun` "spams" the given arguement to all our subscribers.
183+`++poke-noun` "spams" the given argument to all our subscribers.
184184There's a few things we haven't seen before. Firstly, `:_(a b)` is the
185185same as `[b a]`. It's just a convenient way of formatting things when
186186the first thing in a cell is much more complicated than the second.
docs/hoon/exercises/fizzbuzz.md+2−2
@@ -28,8 +28,8 @@ comments: true
2828 ```
2929
3030 Modify this to produce "Fuzz" when the number is divisible by
31− 7, "Fuzz" when divisible by 21, "FuzzFizz" when divisble by 35,
32− and "FuzzFizzBuzz" when divisble by 105.
31+ 7, "Fuzz" when divisible by 21, "FuzzFizz" when divisible by 35,
32+ and "FuzzFizzBuzz" when divisible by 105.
3333
34341. Modify FizzBuzz from the previous exercise to take both a
3535 start and an end number.