... precaution has been taken in the preparation of this book, the publisher and author assume
no responsibility for errors or omissions, or for damages resulting from the use of the information con-
tained ... CoffeeScript has also stripped the trailing comma in
array3, another common source of cross-browser errors.
Flow Control
The convention of optional parentheses continues with CoffeeScript’s if ... a
variable classToType in the context of an anonymous function which is immediately
called by do. That anonymous function returns a second anonymous function, which
will be the ultimate value of...
... this. One such helper is a variation on
->, the fat arrow function: =>
Using the fat arrow instead of the thin arrow ensures that the function context will be
bound to the local one. For ... if @logPrefix
console?.log(args )
Bear in mind though that CoffeeScript will automatically set the function invocation
context to the object the function is being invoked on. In the example above, ... taken in the preparation of this book, the publisher and author assume
no responsibility for errors or omissions, or for damages resulting from the use of the information con-
tained herein.
ISBN:...
... Semaphores
along with one of the standard textbooks, and I taught Synchronization as a
concurrent thread for the duration of the course. Each week I gave the students
a few pages from the book, ending ... threads, then the processor can work on one for a while, then
switch to another, and so on.
In general the programmer has no control over when each thread runs; the
operating system (specifically, the ... Storsjăo sent a correction to the generalized smokers problem.
TheLittleBook of Semaphores
Allen B. Downey
Version 2.1.5
22 Basic synchronization patterns
The synchronization requirement is that...
... the crummy 5 per-
cent the bank was willing to pay you.
There’s one little problem, though: If you buy a bond
from one of these companies and something goes wrong
THE LITTLEBOOK THAT BEATS THE ... and the lucky Mrs. Jason). Only now
THE LITTLEBOOK THAT BEATS THE MARKET [17]
*And yes, the dog was fine.
12949 Greenblatt 01.f.qxd 10/7/05 8:47 AM Page 17
TheLittleBook
That Beats the Market
Joel ... left with the same
$1,000 you put there in the first place. It won’t grow at
all. In fact, if the prices of the things you were going to
buy with that money go up during the time your money
was...
... the crummy 5 per-
cent the bank was willing to pay you.
There’s one little problem, though: If you buy a bond
from one of these companies and something goes wrong
THE LITTLEBOOK THAT BEATS THE ... himself and the lucky Mrs. Jason). Only now
THE LITTLEBOOK THAT BEATS THE MARKET [17]
*And yes, the dog was fine.
12949 Greenblatt 01.f.qxd 10/7/05 8:47 AM Page 17
Chapter One
JASON’S IN THE SIXTH ... hold your money, they’ll pay you for the privilege. Each
year, you’ll collect interest from the bank, and in most
cases, the longer you agree to let them hold your money,
the higher the interest...
... conditions”—if such conditions really exist? To
answer these questions we shall consider first what we wrote on
the subject seven years ago, next what significant changes have
occurred since then ... increasingly
attractive.”
In 1965 the investor could obtain about 4
1
⁄2% on high-grade tax-
able bonds and 3
1
⁄4% on good tax-free bonds. The dividend return
on leading common stocks (with the DJIA at 892) was only about
3.2%. ... be true in the long run.
The defensive
investor must confine himself to the shares of important companies
with a long record of profitable operations and in strong financial
condition.
(Any...
... division by every number n such that n
2
≤ N.
Since multiplication is an easier operation than division, Eratos-
thenes (in the 3rd century BC) had the idea of organizing the com-
putations in the ... 1963,
Mullin asked: Does the sequence (q
n
)
n≥1
contain all the prime num-
bers? Does it exclude at most finitely many primes? Is the sequence
monotonic?
Concerning the first question, it is easy to ... sequence. The proof is given, in all details, in the recent
book of Narkiewicz (2000).
For the second question the prevailing thoughts are that there exist
infinitely many primes which do not belong...
... International and Pan-American Copyright
Conventions. By payment of the required fees, you have been granted the
non-exclusive, non-transferable right to access and read the text of this
e -book on- screen. ...
Securities Analysis
and
The Interpretation of Financial Statements.
JASON ZWEIG is a senior writer at
Money
magazine, a guest
columnist at
Time
, and a trustee of the Museum of American
Financial ... 529
Small Business Administration,
447
small-cap stocks, 252, 369
Smith, Adam, 541–42
South Sea Co., 13
Southern California Edison, 357
Southern New England Telephone,
327
Southwest Airlines,...
... in the Endnotes sec-
tion beginning on p. 579. The new footnotes that Jason Zweig has intro-
duced appear at the bottom of Graham’s pages (and, in the typeface
used here, as occasional additions ... 330
COMMENTARY ON CHAPTER 13 339
14. Stock Selection for the Defensive Investor 347
COMMENTARY ON CHAPTER 14 367
15. Stock Selection for the Enterprising Investor 376
COMMENTARY ON CHAPTER 15 396
16. Convertible ...
Contents
Epigraph iii
Preface to the Fourth Edition, by Warren E. Buffett
ANote About Benjamin Graham, by Jason Zweigx
Introduction: What This Book Expects to Accomplish 1
COMMENTARY ON THE...
... this book in 1949
the figures were almost the exact opposite: the bonds returned only
2.66% and the stocks yielded 6.82%.
2
In previous editions we have
consistently urged that at least 25% of the ... intervening loss would soon
be recouped by a renewed advance of the market to new high lev-
4 Introduction
* The Penn Central Transportation Co., then the biggest railroad in the
United States, sought ... borrow-
ing money to trade stocks on margin,” she was wiped out in the crash
of 1907. For the rest of his life, Ben would recall the humiliation of
cashing a check for his mother and hearing the bank...
... over the years as has the general market. Allied to the foregoing
is the record of the published stock-market predictions of the
brokerage houses, for there is strong evidence that their calculated
forecasts ... must
act onthe assumption that they will continue to do so.
Note to the Reader: This book does not address itself to the overall
financial policy of savers and investors; it deals only with ... the readers to buy their stocks as they bought their gro-
ceries, not as they bought their perfume. The really dreadful losses
of the past few years (and on many similar occasions before) were
realized...
... increasingly
attractive.”
In 1965 the investor could obtain about 4
1
⁄2% on high-grade tax-
able bonds and 3
1
⁄4% on good tax-free bonds. The dividend return
on leading common stocks (with the DJIA at 892) was only about
3.2%. ... not
consider specifically the possibility that the same might happen to
the price of high-grade bonds. (Neither did anyone else that we
know of.) We did warn (on p. 90) that “a long-term bond ... against the charge that
it gave too wide scope to the concept of investment.
Now our concern is of the opposite sort. We must prevent our
readers from accepting the common jargon which applies the...
... “bootstrap operation.”
In discussing the common-stock portfolio of the defensive
investor, we have spoken only of leading issues of the type
included in the 30 components of the Dow Jones Industrial ... be certain that bonds will work out bet-
ter than stocks from today’s levels. The reader will immediately
think of the inflation factor as a potent reason onthe other side. In
the next chapter ... and
perhaps others we haven’t thought of, might cause the investor to
regret a 100% concentration on bonds even at their more favorable
yield levels.
Hence, after this foreshortened discussion of the...
... returns.
None of the factors that the Motley Fools “discovered” with
such fanfare—dropping the stock with the best score, doubling up
on the one with the second-highest score, dividing the dividend
yield ... Take the five stocks in the Dow Jones Industrial Average with
the lowest stock prices and highest dividend yields.
2. Discard the one with the lowest price.
3. Put 40% of your money in the stock ... were
studying their stocks just long enough to learn they shouldn’t have
bought them in the first place, then promptly dumping them and start-
ing all over.
Even the most respected money-management...