on master help sign in
Boot comet not fake ~zod in Urbytes.
f885be7Keaton Dunsford
docs/byte/0.md+33−29
@@ -36,8 +36,7 @@ While you're downloading, read about Urbit ships:
36
36
37## Ships
37## Ships
38
38
39−In the Urbyte exercises you'll be running what we call a "fake
39+In the Urbyte exercises you'll be running what we call a "comet". A string starting with `~`, like `~zod`, is what Urbit
40−`~zod`." A string starting with `~`, like `~zod`, is what Urbit
41calls a *ship*.
40calls a *ship*.
42
41
43A *ship* is one number which means four things: a network address,
42A *ship* is one number which means four things: a network address,
@@ -46,35 +45,37 @@ computer.
46
45
47We write this number in a base-256 format, where each digit is a
46We write this number in a base-256 format, where each digit is a
48syllable. Imagine if your phone number was a pronounceable
47syllable. 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`.
50
52
51−`~zod` is ship zero, making it a very important ship indeed.
53+*Comets*, at 128-bits or 16 syllables, are
52−Your "fakezod" thinks it's `~zod`, but no one can talk to it.
54+disposable identities that anyone can make for free to
53−(An ordinary user-level ship is a 32-bit number which becomes
55+join the live network. Thus, comets make the ideal ship for
54−a four-syllable string, like `~talsur-todres`.)
56+playing around with Hoon, asking for help from other Urbit devs in [`:talk`](http://urbit.org/docs/using/messaging/) if you
55−
57+need it, and showing off Urbit to your hacker friends.
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.
59
58
60## Create and restart
59## Create and restart
61
60
62−To create your fakezod, run:
61+To create your comet, run:
63
62
64```
63```
65−$ git clone https://github.com/urbit/arvo/
64+$ cd ~
66−$ urbit -FI ~zod -A arvo -c myship
65+$ mkdir urbit
66+$ cd urbit
67+$ urbit -c mycomet
67```
68```
68
69
69−This will take about 30 seconds and spin out a bunch of boot
70+This will take a few minutes and will spin out a bunch of boot
70−messages. At the end, you'll see:
71+messages. At the end, you'll see something like:
71
72
72```
73```
73ames: on localhost, UDP 31337.
74ames: on localhost, UDP 31337.
74http: live (insecure, public) on 8080
75http: live (insecure, public) on 8080
75http: live ("secure", public) on 8443
76http: live ("secure", public) on 8443
76http: live (insecure, loopback) on 12321
77http: live (insecure, loopback) on 12321
77−~zod:dojo>
78+~palnul_nocser:dojo>
78```
79```
79
80
80To make sure everything is working, type `(add 2 2)` at the
81To make sure everything is working, type `(add 2 2)` at the
@@ -87,8 +88,8 @@ http: live ("secure", public) on 8443
87http: live (insecure, loopback) on 12321
88http: live (insecure, loopback) on 12321
88> (add 2 2)
89> (add 2 2)
894
904
90−~zod:dojo>
91```
91```
92+~palnul_nocser:dojo>
92
93
93That's super awesome! You made your first noun! We'll make a
94That's super awesome! You made your first noun! We'll make a
94few more in a second. First, quit Urbit with `ctrl-d`:
95few 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`:
96```
97```
97> (add 2 2)
98> (add 2 2)
984
994
99−~zod:dojo>
100+~palnul_nocser:dojo>
100$
101$
101```
102```
102
103
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.
104Right now the only thing in your pier is Urbit's system files:
105Right now the only thing in your pier is Urbit's system files:
105
106
106```
107```
107−$ ls -a myship
108+$ ls -a /path/to/mycomet
108./ ../ .urb/
109./ ../ .urb/
109```
110```
110
111
@@ -112,13 +113,13 @@ Restarting uses almost the same command, but without `-c` (which
112means "create"). There are also fewer startup messages:
113means "create"). There are also fewer startup messages:
113
114
114```
115```
115−$ urbit -FI ~zod myship
116+$ urbit mycomet
116[...]
117[...]
117ames: on localhost, UDP 31337.
118ames: on localhost, UDP 31337.
118http: live (insecure, public) on 8080
119http: live (insecure, public) on 8080
119http: live ("secure", public) on 8443
120http: live ("secure", public) on 8443
120http: live (insecure, loopback) on 12321
121http: live (insecure, loopback) on 12321
121−~zod:dojo>
122+~palnul_nocser:dojo>
122```
123```
123
124
124Note also that Urbit is an ACID database. You can stop it
125Note 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.
128
129
129## Let's make a noun
130## Let's make a noun
130
131
131−We already made a noun. Let's make another. (We won't show the
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.
132−`~zod:dojo> ` prompt in future, just the echoed command.)
135+We'll just show the echoed command.*
136+
133
137
134```
138```
135−~zod:dojo> 42
139+~palnul_nocser:dojo> 42
140+42
136```
141```
137
142
138You'll see:
143You'll see:
@@ -140,7 +145,6 @@ You'll see:
140```
145```
141> 42
146> 42
14242
14742
143−~zod:dojo>
144```
148```
145
149
146## Understanding nouns
150## Understanding nouns
@@ -189,7 +193,7 @@ Why not try it again to make sure?
189Can we add another zero?
193Can we add another zero?
190
194
191```
195```
192−~zod:dojo> 420
196+> 420
193```
197```
194
198
195Wat? When you tried to type that next zero and turn `420` into
199Wat? 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.
260And we're done! Type `|exit` to exit:
264And we're done! Type `|exit` to exit:
261
265
262```
266```
263−~zod:dojo> |exit
267+~palnul_nocser:dojo> |exit
264%drum-exit
268%drum-exit
265$
269$
266```
270```
docs/byte/1.md+3−3
@@ -13,13 +13,13 @@ more deeply at atoms and other simple noun types.
13Let's restart our engines:
13Let's restart our engines:
14
14
15```
15```
16−$ urbit -FI ~zod myship
16+$ urbit mycomet
17[...]
17[...]
18ames: on localhost, UDP 31337.
18ames: on localhost, UDP 31337.
19http: live (insecure, public) on 8080
19http: live (insecure, public) on 8080
20http: live ("secure", public) on 8443
20http: live ("secure", public) on 8443
21http: live (insecure, loopback) on 12321
21http: live (insecure, loopback) on 12321
22−~zod:dojo>
22+~palnul_nocser:dojo>
23```
23```
24
24
25## What's in an atom?
25## What's in an atom?
@@ -337,7 +337,7 @@ all its atoms as decimals.
337And we're done! Type `|exit` to exit:
337And we're done! Type `|exit` to exit:
338
338
339```
339```
340−~zod:dojo> |exit
340+~palnul_nocser:dojo> |exit
341%drum-exit
341%drum-exit
342$
342$
343```
343```
docs/byte/2.md+5−5
@@ -12,13 +12,13 @@ nouns for granted and have some real fun with them.
12Let's restart our engines:
12Let's restart our engines:
13
13
14```
14```
15−$ urbit -FI ~zod myship
15+$ urbit mycomet
16[...]
16[...]
17ames: on localhost, UDP 31337.
17ames: on localhost, UDP 31337.
18http: live (insecure, public) on 8080
18http: live (insecure, public) on 8080
19http: live ("secure", public) on 8443
19http: live ("secure", public) on 8443
20http: live (insecure, loopback) on 12321
20http: live (insecure, loopback) on 12321
21−~zod:dojo>
21+~palnul_nocser:dojo>
22```
22```
23
23
24## Welcome to the dojo
24## Welcome to the dojo
@@ -434,9 +434,9 @@ directly at the real dojo subject:
434[ [ [ a=[x=42 y=[p=%foo q=.6.28 r=~m45] x=0xdead.beef]
434[ [ [ a=[x=42 y=[p=%foo q=.6.28 r=~m45] x=0xdead.beef]
435 b=<2.spy {x/@ud y/{p/$foo q/@rs r/@dr} x/@ux}>
435 b=<2.spy {x/@ud y/{p/$foo q/@rs r/@dr} x/@ux}>
436 ]
436 ]
437− our=~zod
438 now=~2016.7.18..08.05.15..0b5c
437 now=~2016.7.18..08.05.15..0b5c
439 eny=0vl.hsfrh.tg642.g5o21.1n80b.0h141.0vuan.pm8o4.77ovg.96rk0.n26nn
438 eny=0vl.hsfrh.tg642.g5o21.1n80b.0h141.0vuan.pm8o4.77ovg.96rk0.n26nn
439+ our=~palnul-wolmev-bonfex-danred--tilwen-midlux-bolfus-nocser
440 ]
440 ]
441 ~
441 ~
442 <283.xzp 42.ajz 407.xtr 110.xht 1.ztu $151>
442 <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:
461> =b
461> =b
462
462
463> +1
463> +1
464−[ [ our=~zod
465 now=~2016.7.18..08.10.42..36a0
464 now=~2016.7.18..08.10.42..36a0
466 eny=0vf.8j71j.hlqim.k340u.q0ual.v2cd8.cfa65.vkbte.e733g.ehihg.e8aog
465 eny=0vf.8j71j.hlqim.k340u.q0ual.v2cd8.cfa65.vkbte.e733g.ehihg.e8aog
466+[ [ our=~palnul-wolmev-bonfex-danred--tilwen-midlux-bolfus-nocser
467 ]
467 ]
468 ~
468 ~
469 <283.xzp 42.ajz 407.xtr 110.xht 1.ztu $151>
469 <283.xzp 42.ajz 407.xtr 110.xht 1.ztu $151>
@@ -479,7 +479,7 @@ not a particularly interesting mystery.
479And we're done! Type `|exit` to exit:
479And we're done! Type `|exit` to exit:
480
480
481```
481```
482−~zod:dojo> |exit
482+~palnul_nocser:dojo> |exit
483%drum-exit
483%drum-exit
484$
484$
485```
485```