Difference between revisions of "Notes"

From Critiques Of Libertarianism
Jump to: navigation, search
Line 1: Line 1:
The Rise and Fall of the College Graduate Wage Premium
+
== Languages ==
http://www.nber.org/digest/jan08/w12984.html
+
Initially, I thought using mediawiki would be a very easy way to build my site. But it turned out that it really called upon many of my nerdy skills.
one of the reasons why college costs may be increasing
+
  
http://www.slowpokecomics.com/strips/marketcult.html
+
# Wikitext -- the mediawiki markup language; the bulk of the work is in this.
 +
# HTML -- needed intermittently in conjunction with wikitext.
 +
# DPL -- Dynamic Page List, an extension that allows more complicated lists than mediawiki categories.
 +
# PHP -- mediawiki is implemented in and configured with PHP.
 +
# javascript -- I use it primarily for forms that generate wikitext for new articles.
 +
# XML -- I use dumps from Delicious Library in XML.  Typing in hundreds of books is much more tedious than scanning them.
 +
# Python -- I use it primarily to generate wikitext for new articles about books from XML dumps.
 +
# Various extensions: DPL, Nuke, Interwiki, ParserFunctions, StringFunctions
 +
# CSS -- not yet used, but fundamental to the display of a wiki.
  
http://curiouscapitalist.blogs.time.com/2009/01/02/tyler-cowen-statist-anti-rothbardian-agent-of-the-kochtopus/
+
== Implementation Tricks ==
 +
Producing indexes using categories is simple, but had several ugly drawbacks:
 +
* Their titles all start with "Category:".
 +
* Categories do not let you add extra information beyond the title of a page.
 +
* Categories do not let you mix wiki pages with external links.
  
But the Koch brothers’ aims aren’t so low. They have been and will continue to try and shape the dominant political culture – to make it more corporate-friendly, more conservative, and more solicitous of their ideas. From the media to Congress, their goal is to ensure a full airing of their messages and a locking out of anyone else’s. They don’t play a game of election to election; they play a longer game. And even when their politicians fail and the Democrats get into power, they feel they can still win even when losing. The trajectory of what passes for “progressive” and “conservative” in the last 30 years should prove their success.
+
Making manual indexes means that if you want to link something twice in different indexes, you have to copy the link and description each place. Hard to maintain!
  
[http://www.bostonreview.net/BR36.2/glennerster_kremer_behavioral_economics_global_development.php Small Changes, Big Results For The World's Poor - Boston Review]
+
I solved these problems with several tricks.
 +
* Extensions ParserFunctions, MyVariables, DynamicPageList.
 +
* [[:Template:DES]] which allows me to associate descriptions with each page.
 +
* [[:Template:URL]] which allows me to optionally associate an external URL with a page.
 +
* Index templates [[:Template:List]] and [[:Template:Quotations]].  These let me list categories with DPL and display descriptions with each page.  If a page is for an external link, that link is used rather than the internal wiki link.
 +
* Link templates, [[:Template:Link]], let me treat internal and external links uniformly, relying on the single URL stored on a page. 
 +
* A number of templates that associate other data with pages, such as external links ([[:Template:URL]]), text from external links ([[:Template:Text]]) and citation information.  External URLs exist as only one copy on one page, and are retrieved with templates.
 +
* A few templates create debugging categories, which are hidden with <nowiki>__HIDDENCAT__</nowiki>.
 +
* Page building services written in JavaScript that automatically construct wiki page code and open the page to paste it into.  [[http://dl.dropbox.com/u/20086520/js/new_external.html Indexable Page/Quote]]
 +
* A short hack to the mediawiki OutputPage.php code that makes the categories links at the bottom of each page go directly to a main namespace page instead of a category namespace page when the main namespace page exists. 
 +
<code>
 +
# MRH Make category listings at bottom of page go directly to page with the
 +
# MRH name of the category.  Can still use the Go box to get to the categories.
 +
# MRH                          $title = Title::makeTitleSafe( NS_CATEGORY, $category );
 +
                                $title = Title::makeTitleSafe( NS_MAIN, $category );
 +
                                if ( ! $title->isknown() ) {
 +
                                        $title = Title::makeTitleSafe( NS_CATEGORY, $category );
 +
                                }
 +
# MRH end of changes
 +
</code>
 +
Thus, no sending people to category pages or having category pages redirect to regular pages.  You can still go to Category pages directly.
  
It is important to note that cost savings come from creating competition rather than from privatization per se–substituting a private monopoly for a public one is not very helpful but creating and maintaining a competitive environment can work wonders. [http://marginalrevolution.com/marginalrevolution/2011/03/trash-talk.html Alex Tabarrok]
+
The end result is:
 +
* I can make and rapidly index pages with the category mechanism in a flexible and powerful way that allows me to present more information than the title.
 +
* I can index external pages with the same category mechanism.
 +
* External page code rot due to URL changes is simple to fix in one place.
 +
* Broken external links can be automatically looked up in the internet archive from the in-wiki page.
 +
* External text can be searched within the wiki because it is in the database.
 +
* Categories can be combined for listing by making them subcategories of each other. Category:Friedrich Hayek is a subcategory of Category:Friedrich von Hayek, so listing the latter includes the former.
  
Can financial sector profits create deadweight losses the way taxation does?
+
== Interwiki ==
http://blogs.reuters.com/felix-salmon/2011/03/30/chart-of-the-day-us-financial-profits/
+
* http://www.mediawiki.org/wiki/Extension:SpecialInterwiki
 +
* [[Special:Interwiki]] to edit interwiki table
 +
* Use <nowiki>[[wikipedia:pagename]]</nowiki>
 +
* I use huben, hybridize, and critiques for mine
  
http://www.eea-esem.com/files/papers/EEA-ESEM/2009/1277/Bis-Sie_party-competition_10.pdf
+
== Other Notes ==
http://www.sas.upenn.edu/ppe/documents/Landemore_DemocraticReason_Article_Version_for_UPenn.pdf
+
 
http://www.smartdemocracy.com/papers/landemore_democratic_reason.2008.pdf
+
When upgraded to version > 1.17:
"Adrian Vermeule (REF this volume) and others consider the CJT a mere variant of the Miracle of
+
* http://en.wikipedia.org/wiki/Wikipedia:NavFrame
Aggregation. This might well be the case (in which case the CJT would probably correspond to what I call the
+
* http://en.wikipedia.org/wiki/Help:Collapsing
“democratic” version of the miracle of aggregation) but to the extent that the relevant literature still treats them
+
* http://www.mediawiki.org/wiki/Manual:Collapsible_elements to revise structure to collapse and expand
separately, I will address each account as autonomous. "
+
<code>
http://www.cato-unbound.org/2006/11/16/bryan-caplan/reply-to-my-critics/
+
<div class="toccolours mw-collapsible">
"There are plenty of areas where the Miracle of Aggregation probably works as advertised."
+
Header
http://www.cato-unbound.org/2006/11/06/bryan-caplan/the-myth-of-the-rational-voter/
+
<div class="mw-collapsible-content">
"Do voters know what they’re doing? According to the typical economist — and many political scientists — the answer is “No, but it doesn’t matter.” How could it not matter? The main argument is that the public’s errors cancel out.[1]"
+
<div class="toccolours mw-collapsible mw-collapsed">
See Wittman to see if that is the main argument.
+
; First
It can't be, because information theory says we cannot represent all the information in one bit.  Thus, Caplan is entirely mistaken in his thesis.  The real answer is that there is a feedback loop, with voting as the amplifier.  This makes politicians move towards positions desired by voters.  Some may want to characterize those positions as correct, but the real answer is that there is no blatant incorrectness to the voters perceptions.  Different than initiative or referendum.
+
: test
"reason is, and ought only to be the slave of the passions,"  David Hume
+
<div class="toccolours mw-collapsible-content">
 +
;sfgarg
 +
:sfwf
 +
;regregter
 +
:ertwert
 +
</div>
 +
</div>
 +
<div class="toccolours mw-collapsible mw-collapsed">
 +
; Second
 +
: test
 +
<div class="toccolours mw-collapsible-content">
 +
;sfgarg
 +
:sfwf
 +
;regregter
 +
:ertwert
 +
</div>
 +
</div>
 +
</div>
 +
</div>
 +
</code>
 +
 
 +
Investigate using:
 +
* [http://www.webcitation.org WebCite]
 +
* DeadUrl
 +
 
 +
Things to fix:
 +
* generation of book pages
 +
* main page choices at top
 +
* test if an external link works before leaving site: if broken, go to in-wiki page with broken link message.
 +
* remove old category redirects
 +
* examine where I should be using <pre><blockquote></pre>

Revision as of 20:06, 10 March 2014