on master help sign in
Boot comet not fake ~zod in Urbytes.

Should *finally* be good.

commitf885be73be372eaa00f07fb93c6bb78a9116bf4c authorKeaton Dunsford <keaton@tlon.io> dateMon 6 Feb 2017, 17:12 (10 years ago) parent813795d
3 files changed+41−37
docs/byte/0.md+33−29 docs/byte/1.md+3−3 docs/byte/2.md+5−5
docs/byte/0.md+33−29
@@ -36,8 +36,7 @@ While you're downloading, read about Urbit ships:
3636
3737## Ships
3838
39−In the Urbyte exercises you'll be running what we call a "fake
40−`~zod`." A string starting with `~`, like `~zod`, is what Urbit
39+In the Urbyte exercises you'll be running what we call a "comet". A string starting with `~`, like `~zod`, is what Urbit
4140calls a *ship*.
4241
4342A *ship* is one number which means four things: a network address,
@@ -46,35 +45,37 @@ computer.
4645
4746We write this number in a base-256 format, where each digit is a
4847syllable. Imagine if your phone number was a pronounceable
49−string which sounded like a name in a foreign language.
48+string which sounded like a name in a foreign language. `~zod`
49+is ship zero (making it a very important ship indeed!). An ordinary
50+user-level ship is a "planet", a 32-bit number which becomes
51+a four-syllable string, like `~talsur-todres`.
5052
51−`~zod` is ship zero, making it a very important ship indeed.
52−Your "fakezod" thinks it's `~zod`, but no one can talk to it.
53−(An ordinary user-level ship is a 32-bit number which becomes
54−a four-syllable string, like `~talsur-todres`.)
55−
56−A fakezod is not the true Urbit experience, of course. But it's
57−ideal if all you want to do is play around with Hoon. If you
58−have a real urbit ship, of course you can use that instead.
53+*Comets*, at 128-bits or 16 syllables, are
54+disposable identities that anyone can make for free to
55+join the live network. Thus, comets make the ideal ship for
56+playing around with Hoon, asking for help from other Urbit devs in [`:talk`](http://urbit.org/docs/using/messaging/) if you
57+need it, and showing off Urbit to your hacker friends.
5958
6059## Create and restart
6160
62−To create your fakezod, run:
61+To create your comet, run:
6362
6463```
65−$ git clone https://github.com/urbit/arvo/
66−$ urbit -FI ~zod -A arvo -c myship
64+$ cd ~
65+$ mkdir urbit
66+$ cd urbit
67+$ urbit -c mycomet
6768```
6869
69−This will take about 30 seconds and spin out a bunch of boot
70−messages. At the end, you'll see:
70+This will take a few minutes and will spin out a bunch of boot
71+messages. At the end, you'll see something like:
7172
7273```
7374ames: on localhost, UDP 31337.
7475http: live (insecure, public) on 8080
7576http: live ("secure", public) on 8443
7677http: live (insecure, loopback) on 12321
77−~zod:dojo>
78+~palnul_nocser:dojo>
7879```
7980
8081To make sure everything is working, type `(add 2 2)` at the
@@ -87,8 +88,8 @@ http: live ("secure", public) on 8443
8788http: live (insecure, loopback) on 12321
8889> (add 2 2)
89904
90−~zod:dojo>
9191```
92+~palnul_nocser:dojo>
9293
9394That's super awesome! You made your first noun! We'll make a
9495few more in a second. First, quit Urbit with `ctrl-d`:
@@ -96,15 +97,15 @@ few more in a second. First, quit Urbit with `ctrl-d`:
9697```
9798> (add 2 2)
98994
99−~zod:dojo>
100+~palnul_nocser:dojo>
100101$
101102```
102103
103−You now have an Urbit image, or *pier*, in the `myship` directory.
104+You now have an Urbit image, or *pier*, in the `mycomet` directory.
104105Right now the only thing in your pier is Urbit's system files:
105106
106107```
107−$ ls -a myship
108+$ ls -a /path/to/mycomet
108109./ ../ .urb/
109110```
110111
@@ -112,13 +113,13 @@ Restarting uses almost the same command, but without `-c` (which
112113means "create"). There are also fewer startup messages:
113114
114115```
115−$ urbit -FI ~zod myship
116+$ urbit mycomet
116117[...]
117118ames: on localhost, UDP 31337.
118119http: live (insecure, public) on 8080
119120http: live ("secure", public) on 8443
120121http: live (insecure, loopback) on 12321
121−~zod:dojo>
122+~palnul_nocser:dojo>
122123```
123124
124125Note also that Urbit is an ACID database. You can stop it
@@ -128,11 +129,15 @@ manage to corrupt a pier, it's a bug; please let us know.
128129
129130## Let's make a noun
130131
131−We already made a noun. Let's make another. (We won't show the
132−`~zod:dojo> ` prompt in future, just the echoed command.)
132+You've already made a noun. Let's make another!
133+
134+*We won't show the `~palnul_nocser:dojo> ` prompt from here on out.
135+We'll just show the echoed command.*
136+
133137
134138```
135−~zod:dojo> 42
139+~palnul_nocser:dojo> 42
140+42
136141```
137142
138143You'll see:
@@ -140,7 +145,6 @@ You'll see:
140145```
141146> 42
14214742
143−~zod:dojo>
144148```
145149
146150## Understanding nouns
@@ -189,7 +193,7 @@ Why not try it again to make sure?
189193Can we add another zero?
190194
191195```
192−~zod:dojo> 420
196+> 420
193197```
194198
195199Wat? When you tried to type that next zero and turn `420` into
@@ -260,7 +264,7 @@ Each number is an atom; each dot is a cell.
260264And we're done! Type `|exit` to exit:
261265
262266```
263−~zod:dojo> |exit
267+~palnul_nocser:dojo> |exit
264268%drum-exit
265269$
266270```
docs/byte/1.md+3−3
@@ -13,13 +13,13 @@ more deeply at atoms and other simple noun types.
1313Let's restart our engines:
1414
1515```
16−$ urbit -FI ~zod myship
16+$ urbit mycomet
1717[...]
1818ames: on localhost, UDP 31337.
1919http: live (insecure, public) on 8080
2020http: live ("secure", public) on 8443
2121http: live (insecure, loopback) on 12321
22−~zod:dojo>
22+~palnul_nocser:dojo>
2323```
2424
2525## What's in an atom?
@@ -337,7 +337,7 @@ all its atoms as decimals.
337337And we're done! Type `|exit` to exit:
338338
339339```
340−~zod:dojo> |exit
340+~palnul_nocser:dojo> |exit
341341%drum-exit
342342$
343343```
docs/byte/2.md+5−5
@@ -12,13 +12,13 @@ nouns for granted and have some real fun with them.
1212Let's restart our engines:
1313
1414```
15−$ urbit -FI ~zod myship
15+$ urbit mycomet
1616[...]
1717ames: on localhost, UDP 31337.
1818http: live (insecure, public) on 8080
1919http: live ("secure", public) on 8443
2020http: live (insecure, loopback) on 12321
21−~zod:dojo>
21+~palnul_nocser:dojo>
2222```
2323
2424## Welcome to the dojo
@@ -434,9 +434,9 @@ directly at the real dojo subject:
434434[ [ [ a=[x=42 y=[p=%foo q=.6.28 r=~m45] x=0xdead.beef]
435435 b=<2.spy {x/@ud y/{p/$foo q/@rs r/@dr} x/@ux}>
436436 ]
437− our=~zod
438437 now=~2016.7.18..08.05.15..0b5c
439438 eny=0vl.hsfrh.tg642.g5o21.1n80b.0h141.0vuan.pm8o4.77ovg.96rk0.n26nn
439+ our=~palnul-wolmev-bonfex-danred--tilwen-midlux-bolfus-nocser
440440 ]
441441 ~
442442 <283.xzp 42.ajz 407.xtr 110.xht 1.ztu $151>
@@ -461,9 +461,9 @@ Let's clean up our subject, just to be hygienic:
461461> =b
462462
463463> +1
464−[ [ our=~zod
465464 now=~2016.7.18..08.10.42..36a0
466465 eny=0vf.8j71j.hlqim.k340u.q0ual.v2cd8.cfa65.vkbte.e733g.ehihg.e8aog
466+[ [ our=~palnul-wolmev-bonfex-danred--tilwen-midlux-bolfus-nocser
467467 ]
468468 ~
469469 <283.xzp 42.ajz 407.xtr 110.xht 1.ztu $151>
@@ -479,7 +479,7 @@ not a particularly interesting mystery.
479479And we're done! Type `|exit` to exit:
480480
481481```
482−~zod:dojo> |exit
482+~palnul_nocser:dojo> |exit
483483%drum-exit
484484$
485485```