on master help sign in
corrects typos
5b2a095Joseph Bryan
docs/arvo/basic.md+2−2
@@ -256,10 +256,10 @@ function call, then you have to specify every argument.
256
256
257**Exercises**:
257**Exercises**:
258
258
259−Tweak your code to complete the following excercises.
259+Tweak your code to complete the following exercises.
260
260
261There are a few runes and some syntax that we have yet to cover that you
261There 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
263our cheatsheat at the bottom.
263our cheatsheat at the bottom.
264
264
2651. Read and understand `++five` line by line.
2651. 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
96
96
97A `%js` `pest` is `resolve`d as a `text/javascript` success `%this`.
97A `%js` `pest` is `resolve`d as a `text/javascript` success `%this`.
98
98
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
100`/~/on/{window.urb.poll}.json`, bringing us back to `%poll:process`.
100`/~/on/{window.urb.poll}.json`, bringing us back to `%poll:process`.
101
101
102In the case of a non-`%js` `/~/on/`, `%poll:process-parsed` turns into a
102In 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
167ensuring it is recorded for the session. The request parsed with `++need-body`
167ensuring it is recorded for the session. The request parsed with `++need-body`
168to a `[%auth %try {password}]` perk. `%get:process-auth` checks it against
168to a `[%auth %try {password}]` perk. `%get:process-auth` checks it against
169`++load-secret`, upon success updates the session with `++logon:ya`, and
169`++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
171this, the page is refreshed to retry the original request.
171this, the page is refreshed to retry the original request.
172
172
173## Post-authentication: app communication. [#auth-ok]
173## Post-authentication: app communication. [#auth-ok]
@@ -212,7 +212,7 @@ Upon receipt, the client realizes the long-poll isn't actually running, so that
212is started using `urb.poll`. At `/~/of/{ixor}`, perk
212is started using `urb.poll`. At `/~/of/{ixor}`, perk
213`[%view ixor ~ {sequence-number}]`, it is `process`ed by `++poll:ix` (the cyst
213`[%view ixor ~ {sequence-number}]`, it is `process`ed by `++poll:ix` (the cyst
214is retrieved by `++ire-ix` form global state, using the perk `ixor`): the
214is 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
216`++give-even`. After deleting the previous message in the queue and invoking
216`++give-even`. After deleting the previous message in the queue and invoking
217`++pass-took` to signal `%gall` of this occurrence, the data is annotated with
217`++pass-took` to signal `%gall` of this occurrence, the data is annotated with
218the source app+path `++subs-to-json`, and returned to the polling duct.
218the 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
235necessary results. For example, when we poked the `++poke-atom` arm
235necessary results. For example, when we poked the `++poke-atom` arm
236above, we poked %gall, our application server, which was able to respond
236above, we poked %gall, our application server, which was able to respond
237to our poke directly. When the module cannot service the request itself,
237to 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
239%gall module) to do a specified action, and produces the result from
239%gall module) to do a specified action, and produces the result from
240that.
240that.
241
241
@@ -305,7 +305,7 @@ urbit as for sending messages between apps on different urbits.
305
305
306- Write two apps, `even` and `odd`. When you pass an atom to `even`,
306- Write two apps, `even` and `odd`. When you pass an atom to `even`,
307 check whether it's even. If so, divide it by two and recurse;
307 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
309 whether it's equal to one. If so, terminate, printing "%success".
309 whether it's equal to one. If so, terminate, printing "%success".
310 Otherwise, check whether it's odd. If so, multiply it by three, add
310 Otherwise, check whether it's odd. If so, multiply it by three, add
311 one, and recurse; otherwise, poke `even` with it. When either app
311 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`:
59 ++ diff-noun
59 ++ diff-noun
60 |= {wir/wire arg/*}
60 |= {wir/wire arg/*}
61 ^- {(list move) _+>.$}
61 ^- {(list move) _+>.$}
62− ~& [%recieved-data arg]
62+ ~& [%received-data arg]
63 [~ +>.$]
63 [~ +>.$]
64 ++ reap
64 ++ reap
65 |= {wir/wire error/(unit tang)}
65 |= {wir/wire error/(unit tang)}
@@ -180,7 +180,7 @@ so you don't have to. You can access your subscribers by looking at
180subscribed, and which path they subscribed on. If you want to
180subscribed, and which path they subscribed on. If you want to
181communicate with your subscribers, send them messages along their bone.
181communicate with your subscribers, send them messages along their bone.
182
182
183−`++poke-noun` "spams" the given arguement to all our subscribers.
183+`++poke-noun` "spams" the given argument to all our subscribers.
184There's a few things we haven't seen before. Firstly, `:_(a b)` is the
184There's a few things we haven't seen before. Firstly, `:_(a b)` is the
185same as `[b a]`. It's just a convenient way of formatting things when
185same as `[b a]`. It's just a convenient way of formatting things when
186the first thing in a cell is much more complicated than the second.
186the 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
28 ```
28 ```
29
29
30 Modify this to produce "Fuzz" when the number is divisible by
30 Modify this to produce "Fuzz" when the number is divisible by
31− 7, "Fuzz" when divisible by 21, "FuzzFizz" when divisble by 35,
31+ 7, "Fuzz" when divisible by 21, "FuzzFizz" when divisible by 35,
32− and "FuzzFizzBuzz" when divisble by 105.
32+ and "FuzzFizzBuzz" when divisible by 105.
33
33
341. Modify FizzBuzz from the previous exercise to take both a
341. Modify FizzBuzz from the previous exercise to take both a
35 start and an end number.
35 start and an end number.