Skip to content

Commit fe0c433

Browse files
committed
Actually add Chapter 21 to the build system
1 parent 2bab048 commit fe0c433

9 files changed

Lines changed: 11 additions & 10 deletions

File tree

05_higher_order.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -927,7 +927,7 @@ array to `average`.
927927

928928
When we looked up all the people in our data set that lived more than
929929
ninety years, only the very latest generation in the data came out.
930-
Let us take a closer look at that phenomenon.
930+
Let's take a closer look at that phenomenon.
931931

932932
Compute and output the average age of the people in the ancestry data
933933
set per century. A person is assigned to a century by taking their

06_object.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ When a programmer says “object”, this is a loaded term. In my profession, ob
1717
are a way of life, the subject of holy wars, and a
1818
beloved buzzword that still hasn't quite lost its power.
1919

20-
To an outsider, this is probably a little confusing. Let us start with
20+
To an outsider, this is probably a little confusing. Let's start with
2121
a brief history of objects as a programming construct.
2222

2323
== History ==

07_elife.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -969,7 +969,7 @@ var valley = new LifelikeWorld(
969969
);
970970
----
971971

972-
Let us see what happens if we run this. !!tex These snapshots
972+
Let's see what happens if we run this. !!tex These snapshots
973973
illustrate a typical run of this world.!!
974974

975975
ifdef::html_target[]

08_error.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,7 @@ that's a shaky way to write code—we'd be using information that's intended
581581
for human consumption (the message) to make a programmatic decision. As soon as
582582
someone changes (or translates) the message, the code will stop working.
583583

584-
Rather, let us define a new type of error, and use `instanceof` to
584+
Rather, let's define a new type of error, and use `instanceof` to
585585
identify it.
586586

587587
// include_code

11_language.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ language yet.
305305

306306
The `specialForms` object is used to define special syntax in Egg.
307307
It associates words with functions that evaluate such
308-
special forms. It is currently empty. Let us add some forms.
308+
special forms. It is currently empty. Let's add some forms.
309309

310310
// include_code
311311

20_node.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ module, and `require("elife")` will try to load the library found in
210210
`node_modules/elife/`. A common way to install such libraries is by
211211
using NMP, which I will discuss in a moment.
212212

213-
To illustrate the use of `require`, let us set up a simple project
213+
To illustrate the use of `require`, let's set up a simple project
214214
consisting of two files. The first one is called `main.js`, which
215215
defines a script that can be called from the command line to garble a
216216
string.
@@ -537,7 +537,7 @@ document when the `"end"` event occurs.
537537
A file can be read as a readable stream by using the
538538
`fs.createReadStream` function.
539539

540-
Let us set up a server that reads request bodies, and streams them
540+
Let's set up a server that reads request bodies, and streams them
541541
back to the client as all-uppercase text.
542542

543543
[source,javascript]
@@ -585,7 +585,7 @@ using `console.log` would cause undesirable line breaks in the output.
585585

586586
== A simple file server ==
587587

588-
Let us combine our newfound knowledge about HTTP servers and talking
588+
Let's combine our newfound knowledge about HTTP servers and talking
589589
to the file system, and create a bridge between them: an HTTP server
590590
that allows remote access to a file system. Such a server has many
591591
uses—it could be used by a web application to store data, or even to

21_skillsharing.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
:chap_num: 21
22
:prev_link: 20_node
33

4-
= Project: Meetup Organizer =
4+
= Project: Organizing a Meetup =
55

66
A _skill-sharing_ meeting is an event where people with a shared
77
interest come together and give small, informal presentations about

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ all: html tex
22

33
CHAPTERS := 00_intro 01_values 02_program_structure 03_functions 04_data 05_higher_order 06_object \
44
07_elife 08_error 09_regexp 10_modules 11_language 12_browser 13_dom 14_event 15_game 16_canvas \
5-
17_http 18_forms 19_paint 20_node
5+
17_http 18_forms 19_paint 20_node 21_skillsharing
66

77
.SECONDARY: $(foreach CHAP,$(CHAPTERS),tex/$(CHAP).db)
88

html/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ <h3>(Part 2: Browser)</h3>
7070
<h3>(Part 3: Node)</h3>
7171
<a href="20_node.html">Node.js</a>
7272
</li>
73+
<li><a href="21_skillsharing.html">Project: Organizing a Meetup</a>
7374
</ol>
7475

7576
<h2>Other pages</h2>

0 commit comments

Comments
 (0)