Skip to content

Commit 3966cd9

Browse files
committed
#1 - develop 1996 and some fixes on 1992
1 parent 9ae1f5f commit 3966cd9

File tree

263 files changed

+34429
-3
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

263 files changed

+34429
-3
lines changed

1992/august_92_the_network_project_distributed_computing_on_the_macintosh.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1105,10 +1105,10 @@ <h2>HOW TO IMPLEMENT A NETWORK PROGRAM</h2>
11051105
<li>"Finding Idle Machines in a Workstation-Based Distributed System" by M.<br>
11061106
T. Theimer and K. A. Lantz,<i>IEEE Transactions on Software Engineering </i><br>
11071107
(November 1989), pages 1444-1457.</li>
1108-
<li><i>NetWork Communications</i> by J. Lindenberg (Universit&amp;auml;t<br>
1108+
<li><i>NetWork Communications</i> by J. Lindenberg (Universit&auml;t<br>
11091109
Karlsruhe, Institut f&#220;r Betriebs und Dialogsysteme, 1990). Republished on<br>
11101110
the current <i>Developer CD Series</i>&nbsp;&nbsp;disc.</li>
1111-
<li><i>NetWork Programmer's Guide</i> by G. Sawitzki (Universit&amp;auml;t<br>
1111+
<li><i>NetWork Programmer's Guide</i> by G. Sawitzki (Universit&auml;t<br>
11121112
Heidelberg, Institut f&#220;r Angewandte Mathematik, 1990, 1991). Republished<br>
11131113
on the current <i>Developer CD Series</i>&nbsp;&nbsp;disc.</li>
11141114
<li><i>Parallel and Distributed Computation </i> by</li>

1992/winter_92_the_textbox_you've_always_wanted.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ <h2>&nbsp;SETPRESERVEGLYPH WITH TRUETYPE FONTS</h2>
160160
<p>
161161
&nbsp;Before TrueType, all characters in all fonts fit beneath the font's ascent line and above<br>
162162
the descent line, like the default characters shown in Figure 1. Bitmapped fonts were<br>
163-
drawn so that diacriticals, like the angstrom over the <i>A </i> in &amp;Aring;ngstr&amp;ouml;m,<br>
163+
drawn so that diacriticals, like the angstrom over the <i>A </i> in &amp;Aring;ngstr&ouml;m,<br>
164164
would fit beneath the ascent line. To do this, the letterform had to be distorted. With<br>
165165
the advent of TrueType, this "feature" can be controlled, because TrueType fonts carry<br>
166166
outline data that's true to the original design (hence the name TrueType).
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<!-- Article ID: 65 - Extracted from develop-1996 -->
5+
<!-- on 2025-01-18 by Giorgio Ferrara - giorgio<dot>ferrara<at>gmail<dot>com -->
6+
<!-- The content is protected by the copyright of its respective owners -->
7+
<title>December 96 - According to Script: Vocabulary Advice</title>
8+
<link href="../common/styles/main.css" rel="stylesheet" type="text/css">
9+
</head>
10+
<body>
11+
<h1>According to Script:<br>
12+
Vocabulary Advice</h1>
13+
<h2>Cal Simone</h2>
14+
<p>
15+
<img src="img/320.gif" width="182 px"></img>
16+
</p>
17+
<p>
18+
One of the beautiful things about AppleScript is that it allows you to do nearly anything<br>
19+
you want in your vocabulary; however, just because it allows something doesn't mean<br>
20+
that you should do it. To help guide you, I'll regularly include miscellaneous pieces of<br>
21+
vocabulary advice in this column. This time I'll address words to avoid in your<br>
22+
vocabulary. Here are a few examples:
23+
</p>
24+
<ul>
25+
<li>Avoid using <b>object</b> as the name of a class. If you must implement an<br>
26+
abstract object class, use <b>base class</b>.</li>
27+
<li>Avoid using the word <b>of</b> in your terms. It tends to be confusing, since it's<br>
28+
used between parts of an object specification. It may not always possible to<br>
29+
avoid this, but think carefully before doing it.</li>
30+
<li>Avoid using <b>end</b> as the first word of a verb name.</li>
31+
</ul>
32+
<p>
33+
Let's look more closely at the problem with using <b>end</b>. Keep in mind that users are<br>
34+
accustomed to seeing <b>end</b> at the end of a block, and AppleScript automatically appends<br>
35+
the word <b>tell</b>, <b>repeat</b>, <b>if</b>, or the name of the handler after the&nbsp;&nbsp;word <b>end</b> if the user<br>
36+
types <b>end</b> on a line by itself. For example:
37+
</p>
38+
<pre>if the moon is blue
39+
...
40+
end [if] -- AppleScript fills in the "if"</pre>
41+
<p class="spacer">&nbsp;</p>
42+
<p>
43+
If you use <b>end</b> as part of a verb name in your vocabulary, such as <b>end animation</b>,<br>
44+
users will type the word <b>end</b> by itself and expect AppleScript to fill it in. Of course,<br>
45+
this won't happen for a dictionary-defined command like <b>end animation</b>, which isn't<br>
46+
a true block construct, so it will appear that the AppleScript compiler is behaving<br>
47+
arbitrarily.
48+
</p>
49+
<pre>begin animation
50+
...
51+
end -- AppleScript doesn't fill in "animation"</pre>
52+
<p class="spacer">&nbsp;</p>
53+
<p>
54+
This confusion already exists in the case of the Database suite event End Transaction. In<br>
55+
dictionaries of applications that support transactions, users find themselves having to<br>
56+
remove the word <b>transaction</b> in the phrase <b>end transaction</b> whenever they<br>
57+
recompile a script. Don't create this confusion in your vocabulary -- it's better to use<br>
58+
verb names like <b>start animation</b> and <b>stop animation</b>. Users will assume that the<br>
59+
full verb name is required.
60+
</p>
61+
<pre>start animation
62+
...
63+
stop animation</pre>
64+
<p class="spacer">&nbsp;</p>
65+
<p>
66+
<b>CAL SIMONE</b> ([email protected])&nbsp;&nbsp;plans to include this advice in one of his future<br>
67+
According to Script columns in <i>develop</i>. We're putting it on the CD and<i>develop</i>'s Web<br>
68+
site so you&nbsp;&nbsp;won't have to wait for this valuable information.*
69+
</p>
70+
</body>
71+
</html>

0 commit comments

Comments
 (0)