diff options
author | micheles <micheles@micheles-mac> | 2010-05-22 14:28:00 +0200 |
---|---|---|
committer | micheles <micheles@micheles-mac> | 2010-05-22 14:28:00 +0200 |
commit | 5fcc5f55facbd720760e7d4d7f546300b0bf3078 (patch) | |
tree | 7eedfe79eb66e27b14e510be78bf1b65bcfb69e2 /artima | |
parent | 90358f59174cd8fdb7af2e843770923f4a879b22 (diff) | |
download | micheles-5fcc5f55facbd720760e7d4d7f546300b0bf3078.tar.gz |
Minor fixed to the Adventures
Diffstat (limited to 'artima')
-rw-r--r-- | artima/notes/links-and-citations.txt | 6 | ||||
-rw-r--r-- | artima/scheme/Makefile | 42 | ||||
-rw-r--r-- | artima/scheme/table-of-contents.txt | 3 |
3 files changed, 29 insertions, 22 deletions
diff --git a/artima/notes/links-and-citations.txt b/artima/notes/links-and-citations.txt index 5d80ca0..2455690 100644 --- a/artima/notes/links-and-citations.txt +++ b/artima/notes/links-and-citations.txt @@ -57,3 +57,9 @@ Enterprise applications do not have installers and have configurations so comple That's how we know that a LAMP-based application stack involving Python can't be enterprise-ready. Python and MySQL install with "next-next-done" wizards. The application suite installs with a few dozen easy_install steps followed by a database build script. Anything that simple can't scale. *S.Lott* + +multiple-inheritance can be seen as required for basic +object-oriented programming, because many objects in the real world belong to +several classes. In classical systems without MI, a class which should inherit +from more than one class must textually include all but one of those classes in +its interface, causing code duplication (and a messy interface) - http://stason.org/TULARC/software/object-oriented-programming/1-9-Does-Multiple-Inheritance-Pose-Any-Additional-Difficult.html diff --git a/artima/scheme/Makefile b/artima/scheme/Makefile index 66e4cf3..5da982d 100644 --- a/artima/scheme/Makefile +++ b/artima/scheme/Makefile @@ -9,7 +9,7 @@ PAPER = a4 # Internal variables. PAPEROPT_a4 = -D latex_paper_size=a4 PAPEROPT_letter = -D latex_paper_size=letter -ALLSPHINXOPTS = -d .build/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) . +ALLSPHINXOPTS = -d /tmp/build/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) . .PHONY: help clean html web pickle htmlhelp latex changes linkcheck @@ -24,55 +24,55 @@ help: @echo " linkcheck to check all external links for integrity" clean: - -rm -rf .build/* + -rm -rf /tmp/build/* html: - mkdir -p .build/html .build/doctrees - $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) .build/html + mkdir -p /tmp/build/html /tmp/build/doctrees + $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) /tmp/build/html @echo - @echo "Build finished. The HTML pages are in .build/html." + @echo "Build finished. The HTML pages are in /tmp/build/html." pickle: - mkdir -p .build/pickle .build/doctrees - $(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) .build/pickle + mkdir -p /tmp/build/pickle /tmp/build/doctrees + $(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) /tmp/build/pickle @echo @echo "Build finished; now you can process the pickle files." web: pickle json: - mkdir -p .build/json .build/doctrees - $(SPHINXBUILD) -b json $(ALLSPHINXOPTS) .build/json + mkdir -p /tmp/build/json /tmp/build/doctrees + $(SPHINXBUILD) -b json $(ALLSPHINXOPTS) /tmp/build/json @echo @echo "Build finished; now you can process the JSON files." htmlhelp: - mkdir -p .build/htmlhelp .build/doctrees - $(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) .build/htmlhelp + mkdir -p /tmp/build/htmlhelp /tmp/build/doctrees + $(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) /tmp/build/htmlhelp @echo @echo "Build finished; now you can run HTML Help Workshop with the" \ - ".hhp project file in .build/htmlhelp." + ".hhp project file in /tmp/build/htmlhelp." latex: - mkdir -p .build/latex .build/doctrees - $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) .build/latex + mkdir -p /tmp/build/latex /tmp/build/doctrees + $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) /tmp/build/latex @echo - @echo "Build finished; the LaTeX files are in .build/latex." + @echo "Build finished; the LaTeX files are in /tmp/build/latex." @echo "Run \`make all-pdf' or \`make all-ps' in that directory to" \ "run these through (pdf)latex." changes: - mkdir -p .build/changes .build/doctrees - $(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) .build/changes + mkdir -p /tmp/build/changes /tmp/build/doctrees + $(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) /tmp/build/changes @echo - @echo "The overview file is in .build/changes." + @echo "The overview file is in /tmp/build/changes." linkcheck: - mkdir -p .build/linkcheck .build/doctrees - $(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) .build/linkcheck + mkdir -p /tmp/build/linkcheck /tmp/build/doctrees + $(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) /tmp/build/linkcheck @echo @echo "Link check complete; look for any errors in the above output " \ - "or in .build/linkcheck/output.txt." + "or in /tmp/build/linkcheck/output.txt." POST = python ../post.py RST = python ../../scheme2rst.py -r diff --git a/artima/scheme/table-of-contents.txt b/artima/scheme/table-of-contents.txt index 94cd1af..4dae8f2 100644 --- a/artima/scheme/table-of-contents.txt +++ b/artima/scheme/table-of-contents.txt @@ -1,4 +1,4 @@ -The *Adventures of a Pythonista in Schemeland* have grown to become a +The `Adventures of a Pythonista in Schemeland`_ have grown to become a rather big series. I think a table of contents is needed to index all the episodes. Here it is. @@ -99,3 +99,4 @@ Part V - Macros, again .. _Ep28: http://www.artima.com/weblogs/viewpost.jsp?thread=260195 .. _Ep29: http://www.artima.com/weblogs/viewpost.jsp?thread=261363 .. _Ep30: http://www.artima.com/weblogs/viewpost.jsp?thread=261364 +.. _Adventures of a Pythonista in Schemeland: http://www.phyast.pitt.edu/~micheles/scheme/TheAdventuresofaPythonistainSchemeland.pdf |