<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>

<channel>
	<title>metcaffeination</title>
	<atom:link href="http://metcaffeination.net/weblog/feed/" rel="self" type="application/rss+xml" />
	<link>http://metcaffeination.net/weblog</link>
	<description>cities. physics. food. environment. fatherhood.</description>
	<pubDate>Mon, 15 Dec 2008 12:07:50 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
	<language>en</language>
			<item>
		<title>Bringing streetcars back to DC, part 3</title>
		<link>http://metcaffeination.net/weblog/2008/12/15/bringing-streetcars-back-to-dc-part-3/</link>
		<comments>http://metcaffeination.net/weblog/2008/12/15/bringing-streetcars-back-to-dc-part-3/#comments</comments>
		<pubDate>Mon, 15 Dec 2008 05:32:52 +0000</pubDate>
		<dc:creator>thm</dc:creator>
		
		<category><![CDATA[DC]]></category>

		<category><![CDATA[rail]]></category>

		<category><![CDATA[streetcars]]></category>

		<guid isPermaLink="false">http://metcaffeination.net/weblog/?p=194</guid>
		<description><![CDATA[Parts 1 and 2 of this series looked at the public side of the DC Alternatives Analysis process that took place between 2002 and 2005. Several newsletters were published, public meetings were held, and the study team met with civic groups and maintained a presence at various community events. The widely distributed documents only tell [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://metcaffeination.net/weblog/2008/10/29/bringing-streetcars-back-to-dc-part-1/">Parts 1</a> and <a href="http://metcaffeination.net/weblog/2008/11/09/bringing-streetcars-back-to-dc-part-2/">2</a> of this series looked at the public side of the DC Alternatives Analysis process that took place between 2002 and 2005. Several newsletters were published, public meetings were held, and the study team met with civic groups and maintained a presence at various community events. The widely distributed documents only tell a small fraction of the story, and if one wants to understand why the final report had such disappointing recommendations, one needs to delve into the more technical study documents, which weren&#8217;t widely distributed. The contrast between that which was published publicly and the technical documents kept internally is instructive for anyone following a similar engineering study of similar scale.</p>
<p>Broadly speaking, these technical documents attempt to quantify the decision-making process in order that every subsequent decision have justification. The process obscures the study biases by shifting them into the methods of quantification, and ultimately confuses quantifiability with importance.</p>
<p><strong>Setting the Stage</strong></p>
<p>The formal program of the study was documented in the <a href="http://metcaffeination.net/weblog/wp-content/uploads/2008/12/dcaa-project-work-plan.pdf">Project Work Plan</a>, in January 2003. One of the first of the study documents was the short <a href="http://metcaffeination.net/weblog/wp-content/uploads/2008/12/dcaa-quality-assurance-program.pdf">Quality Assurance Program</a>, an eight-pager released in November 2003. It establishes the tedious tone in which all further study documents will be written with empty management-speak such as &#8220;All DMJM Harris staff performing tasks on the project will utilize the appropriate implementing<span> procedure for the work being performed.&#8221;</span></p>
<p>Two reports were finished in August 2004: The <a onclick="javascript:pageTracker._trackPageview ('/outbound/ddot.dc.gov');" href="http://ddot.dc.gov/ddot/cwp/view,a,1250,q,643415,ddotNav_GID,1760,ddotNav,|34399|.asp">Needs Assessment</a> and the <a href="http://metcaffeination.net/weblog/wp-content/uploads/2008/12/dcaa-evaluation-framework.pdf">Evaluation Framework.</a> These followed the extensive series of community meetings in late 2003. The Needs Assessment was the only technical document that was published on the (now-defunct) study website. It examined population, employment, and overall destination patterns across the city in relation to existing transit service. The Evaluation Framework brought together all the input&#8211;from DC agencies and from the community&#8211;about routes and goals and needs and defines what sort of analysis is to be done. A structure of seven routes is proposed, two of which have alternative routings, but the stops along those routes are not defined yet. The project goals are laid out, and the measures and criteria used to evaluate choices in terms of those goals are defined. The general work plan for several documents that follow is laid out.</p>
<p><strong>Route and Mode evaluation:</strong></p>
<p><a href="http://metcaffeination.net/weblog/wp-content/uploads/2008/12/dcaa-screen-1-report.pdf">Screen 1</a>, released September 2004, evaluates seven potential transit modes (streetcars, &#8220;bus rapid transit,&#8221; light rail transit, diesel multiple units, automated guideway transit, monorail, and heavy rail), and ends up recommending only streetcars and &#8220;bus rapid transit&#8221; for further evaluation.</p>
<p>The <a href="http://metcaffeination.net/weblog/wp-content/uploads/2008/12/dcaa-definition-of-alternatives.pdf">Definition of Alternatives</a>, released in November 2004, analyzed the routes given in the Evaluation Framework for the two chosen modes. Station locations were assigned and propulsion technologies are considered. For each route, a &#8220;service plan&#8221; was developed, including the headways between successive runs and calculations for route travel times. Although there are separate calculations for streetcars and for &#8220;bus rapid transit,&#8221; no details are given about the assumptions that went into the calculation of the travel times.</p>
<p><a href="http://metcaffeination.net/weblog/wp-content/uploads/2008/12/dcaa-screen-2-report.pdf">Screen 2</a>, released March 2005, takes the service plans and route structure from the Definition of Alternatives and tries to evaluate how well each would fulfill the project goals by applying a set of &#8220;Measures of Effectiveness,&#8221; which are defined in the Evaluation Framework. Claiming that &#8220;the operational characteristics of BRT and Streetcar are similar at the level of detail&#8221; under study, it lumps both into a &#8220;premium transit service option&#8221; to decide whether a particular corridor should have &#8220;premium transit,&#8221; or whether it should only receive some bus service enhancements. Corridors were ranked (high, medium or low) based on a few criteria for each of the four project goals, leading to a composite score. Further analysis on meeting corridor deficiencies and operational considerations, and concluded by recommending some routes for &#8220;premium transit&#8221; and relegating some to get only &#8220;local bus enhancements.&#8221;</p>
<p><a href="http://metcaffeination.net/weblog/wp-content/uploads/2008/12/dcaa-screen-3-report.pdf">Screen 3</a>, released May 2005, takes the &#8220;premium transit&#8221; corridors of Screen 2 and applies further &#8220;Measures of Effectiveness&#8221; to determine whether each corridor should be Streetcars or  &#8221;bus rapid transit.&#8221; Each corridor is broken into segements, and the effectiveness criteria are applied to the segments individually. Where applicable&#8211;which isn&#8217;t as frequently as one might think&#8211;Streetcars and &#8220;bus rapid transit&#8221; are evaluated separately. The scores from these evaluations are totaled, to come up with proposals for streetcar routes, &#8220;bus rapid transit&#8221; routes, and &#8220;rapid bus&#8221; routes.</p>
<p><strong>And onwards</strong></p>
<p>Further study documents, released May&#8211;September 2005, looked at the finances of the proposed system and put forward the timetable. All the study findings were summarized in a final report, published in October 2005. Future posts in this series will look in detail at some of these technical reports.</p>
]]></content:encoded>
			<wfw:commentRss>http://metcaffeination.net/weblog/2008/12/15/bringing-streetcars-back-to-dc-part-3/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Matthew&#8217;s Books updated</title>
		<link>http://metcaffeination.net/weblog/2008/12/04/matthews-books-updated/</link>
		<comments>http://metcaffeination.net/weblog/2008/12/04/matthews-books-updated/#comments</comments>
		<pubDate>Fri, 05 Dec 2008 03:05:46 +0000</pubDate>
		<dc:creator>thm</dc:creator>
		
		<category><![CDATA[fatherhood]]></category>

		<category><![CDATA[metcaffeination]]></category>

		<guid isPermaLink="false">http://metcaffeination.net/weblog/?p=191</guid>
		<description><![CDATA[
I keep a permanent page on this website listing the books that my son has, in order to minimize duplicate copies. I have just now updated this list to include books acquired over the past year.
He does also have a number of books in Korean, which are not presently listed.
]]></description>
			<content:encoded><![CDATA[<div>
<p>I keep a permanent page on this website <a href="http://metcaffeination.net/weblog/matthews-books/">listing the books that my son has</a>, in order to minimize duplicate copies. I have just now updated this list to include books acquired over the past year.</p>
<p>He does also have a number of books in Korean, which are not presently listed.</p></div>
]]></content:encoded>
			<wfw:commentRss>http://metcaffeination.net/weblog/2008/12/04/matthews-books-updated/feed/</wfw:commentRss>
		</item>
		<item>
		<title>The next Mathematica</title>
		<link>http://metcaffeination.net/weblog/2008/11/22/the-next-mathematica/</link>
		<comments>http://metcaffeination.net/weblog/2008/11/22/the-next-mathematica/#comments</comments>
		<pubDate>Sat, 22 Nov 2008 16:46:07 +0000</pubDate>
		<dc:creator>thm</dc:creator>
		
		<category><![CDATA[consumer society]]></category>

		<category><![CDATA[doing the math]]></category>

		<category><![CDATA[mathematics]]></category>

		<guid isPermaLink="false">http://metcaffeination.net/weblog/?p=181</guid>
		<description><![CDATA[To me, an intermediate and somewhat casual Mathematica user, the news that Mathematica 7 had been released was a surprise. Surprising to me because Mathematica usually goes much longer between major-digit releases; I would have anticipated this to be Version 6.1. For fun, I&#8217;ve plotted the history of Mathematica versions1 :
 
Mathematica 6 was a substantial upgrade: the graphics [...]]]></description>
			<content:encoded><![CDATA[<p>To me, an intermediate and somewhat casual <a href="http://www.wolfram.com/products/mathematica/index.html">Mathematica</a> user, the <a href="http://blog.wolfram.com/2008/11/18/surprise-mathematica-70-released-today/">news that Mathematica 7</a> had been released was a surprise. Surprising to me because Mathematica usually goes much longer between major-digit releases; I would have anticipated this to be Version 6.1. For fun, I&#8217;ve plotted the history of Mathematica versions<sup>1</sup> :</p>
<p> </p>
<div id="attachment_183" class="wp-caption aligncenter" style="width: 410px"><img class="size-full wp-image-183" title="mathematicaversions" src="http://metcaffeination.net/weblog/wp-content/uploads/2008/11/mathematicaversions.jpg" alt="Release dates of versions of Mathematica" width="400" height="406" /><p class="wp-caption-text">Release dates of versions of Mathematica</p></div>
<p>Mathematica 6 was a <a href="http://www.wolfram.com/products/mathematica/newin6/">substantial upgrade</a>: the graphics system was completely overhauled, the curated data, that I&#8217;ve used as the basis for some posts here, was added, and the ability for dynamic interactivity was added with <code>Manipulate</code> and <code>Dynamic</code>. </p>
<p>I am not, of course, a major Mathematica user. In fact, although I&#8217;m a physicist, I haven&#8217;t made tremendously much use of Mathematica for my professional work. This is partly because I tend to deal with relatively small data sets, for which a GUI-based data analysis tool is usually easier to work with than the command-line Mathematica. And I&#8217;d consider myself an advanced user of<a href="http://quansoft.com/"> Pro Fit</a>, the data analysis tool that&#8217;s made all the graphs for all the work I&#8217;ve done since about 1998.</p>
<p>In fact, my Mathematica license is my own personal one. As a graduate student, I bought the <a href="http://www.wolfram.com/products/student/mathforstudents/index.html">Student version</a> of Mathematica, which they <a href="http://www.wolfram.com/products/student/mathforstudents/upgrade.html">allow you to upgrade</a> to a full professional license for only a few hundred dollars, compared to the $2500 list price of a new professional license.</p>
<p>Wolfram really wants its users to buy <a href="https://www.wolfram.com/products/service/">Premier Service</a>, a several hundred dollars per year service which entitles you to all upgrades, major and minor. If you don&#8217;t buy premier service, then you need to pay for all upgrades, even the N.M.X to N.M.X+1 minor bug-fixing upgrades. And without premier service, you&#8217;re not even supposed to install Mathematica on more than one computer. Draconian and greedy, if you ask me, but they can do that, because they&#8217;re Wolfram. And for tech-heavy firms that make heavy use of Mathematica and get millions of dollars worth of value from whatever they compute in Mathematica, it makes sense. But it makes it very difficult to be a casual user.</p>
<p>And even though your existing copy can do everything it could the day you bought it, once the difference between your copy and the current release gets large enough, there is no longer an upgrade path.<span style="text-decoration: line-through;"> I think this is one of the motivations to release this as version 7 and not 6.1: I don&#8217;t recall the precise figure, but Wolfram generally offers an upgrade path only for jumps smaller than 1.5. If this is still the case,</span><sup>2</sup> <span style="text-decoration: line-through;">what this does is cut off anyone who hadn&#8217;t upgraded to version 6.</span> <strong>Update: enough with the conspiracy theories! Wolfram clears up the upgrade policy in the comments.</strong></p>
<p>In my case, with Version 6.0.1, I have a choice of paying $750, and getting a year of Premier Service, or paying $500 for just version 7.0.0 with no service. Out of my own pocket, ouch! But what makes it really enticing, for me, is that Mathematica now reads <a href="http://reference.wolfram.com/mathematica/ref/format/SHP.html">SHP</a> files. These are the Geographic Information System data files, promulgated by <a href="http://www.esri.com/">ESRI</a>, in which vector-valued geographic data is commonly exchanged. In particular, the <a href="http://planning.dc.gov/">DC Office of Planning</a> makes an<a href="http://dcatlas.dcgis.dc.gov/catalog/"> amazingly large collection of DC GIS data</a> available in SHP format. The possibility for quantitative analysis of DC mapping data is very tantalizing.</p>
<p>Of course, Wolfram wouldn&#8217;t release a major number upgrade without <a href="http://www.wolfram.com/products/mathematica/newin7/">hundreds of other new features</a>. As of yet, there isn&#8217;t much substantial written about version 7. I did find some <a href="http://www.walkingrandomly.com/?p=332">notes from a beta-tester</a> and from a <a href="http://tcmtechnologyblog.blogspot.com/2008/11/mathematica-7-is-for-everyone.html">college math teacher</a>. I&#8217;ll probably buy it, even though it would mean delaying <a href="http://www.nikonusa.com/Find-Your-Nikon/Product/Camera-Lenses/2180/AF-S-NIKKOR-50mm-f/1.4G.html">other expensive toys</a> that I want.</p>
<ol class="footnotes"><li id="footnote_0_181" class="footnote">most of the dates come from the <a href="http://www.wolfram.com/news/archive/">Wolfram News Archive</a>, some from the <a href="http://www.wolfram.com/company/scrapbook/">Mathematica scrapbook</a> pages</li><li id="footnote_1_181" class="footnote">I&#8217;ve asked Wolfram, but haven&#8217;t received a reply.</li></ol>]]></content:encoded>
			<wfw:commentRss>http://metcaffeination.net/weblog/2008/11/22/the-next-mathematica/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Twenty megawatts in your hands</title>
		<link>http://metcaffeination.net/weblog/2008/11/13/twenty-megawatts-in-your-hands/</link>
		<comments>http://metcaffeination.net/weblog/2008/11/13/twenty-megawatts-in-your-hands/#comments</comments>
		<pubDate>Thu, 13 Nov 2008 04:29:33 +0000</pubDate>
		<dc:creator>thm</dc:creator>
		
		<category><![CDATA[doing the math]]></category>

		<category><![CDATA[energy]]></category>

		<guid isPermaLink="false">http://metcaffeination.net/weblog/?p=177</guid>
		<description><![CDATA[I needed to buy more gasoline for the car today, and I decided to see how long it took to fill the tank. I bought ten and a half gallons of gas, and it took 70 seconds to fill it up. Although filling up a gas tank is something that millions of Americans do every [...]]]></description>
			<content:encoded><![CDATA[<p>I needed to buy more gasoline for the car today, and I decided to see how long it took to fill the tank. I bought ten and a half gallons of gas, and it took 70 seconds to fill it up. Although filling up a gas tank is something that millions of Americans do every day, it&#8217;s really remarkable when you stop and think about the energy transfer going on.</p>
<p>Gasoline has, approximately, <a href="http://www.epa.gov/oms/rfgecon.htm">113,000 BTUs per gallon</a>.<sup>1</sup> One <a href="http://en.wikipedia.org/wiki/BTU">BTU is 1055 Joules</a>. So I transferred 1.25 Billion Joules in those 70 seconds, which is a rate of 17.9 megawatts. When you consider that you spend less than two minutes pumping the same amount of energy you burn in four hours of driving, it&#8217;s not surprising that you end up with such a high power. What&#8217;s more interesting, I think, is to contemplate the rather fundamental limits this puts on plug-in electric cars.</p>
<p>Internal combustion engines, according to Wikipedia, are only about <a href="http://en.wikipedia.org/wiki/Internal_combustion_engine#Energy_Efficiency">20% efficient</a>, which is to say, for every 100 BTUs of thermal energy consumed by the engine, you get 20 BTUs of mechanical energy out. This is, in large part, a consequence of fundamental thermodynamics. Although electric motors can be pretty close to perfectly efficient, a similar thermal-to-electric efficiency hit would be taken at the power plant.</p>
<p>Let&#8217;s consider, then, that we want a similar car to mine, but electric. Instead of 1.25 gigajoules, we need to have 250 megajoules. Battery charging can be <a href="http://www.sandia.gov/pv/docs/PDF/batpapsteve.pdf">pretty efficient</a>, at 90% or so, which means we&#8217;d supply 280 megajoules. If we expect the filling-up time to be comparable to that of gasoline cars&#8211;call it 100 seconds for simplicity&#8211;then we&#8217;d need to supply 2.8 megawatts of power. At 240 Volts, which is the voltage we get in our homes, this would require 11700 amps; if you used 1000 Volts, it would take 2800 amps. Although equipment exists<sup>2</sup> to handle these voltage and current levels, it is an understatement to say that it cannot be handled as casually as gasoline pumps are handled. Nor is it clear that any battery system would actually be able to accept this much power.</p>
<p>A linear relationship exists between the power requirement for filling, and the vehicle range, the vehicle power, and the time for a filling. If you&#8217;re satisfied with half the range of a regular vehicle, for example, you could use half the filling power. Let&#8217;s imagine that you&#8217;d be happy for the filling to take ten times as long as with gasoline, or 1000 seconds, just under 17 minutes. At this level, you&#8217;d need 280 kilowatts of power. If battery charging is 90% efficient, that means 10% of the power is going to be dissipated as heat, which in this case would be 28 kilowatts.</p>
<p>For comparison, a typical energy consumption rate for a home furnace is 100,000 BTU per hour, about 28 BTU per second, or 29.3 kilowatts. Which means that the waste heat dissipated during charging for the example&#8211;of a 1000 second fill for a vehicle with similar range and power as a modest gasoline powered sedan, at 90% charging efficiency&#8211;is as much as the entire output of a home furnace.</p>
<p>No wonder overnight charges are the standard.</p>
<ol class="footnotes"><li id="footnote_0_177" class="footnote">Summer and winter blends have slightly more and less, respectively.</li><li id="footnote_1_177" class="footnote">think about <a href="http://www.powerstream.com/Wire_Size.htm">how large the wires</a> would need to be</li></ol>]]></content:encoded>
			<wfw:commentRss>http://metcaffeination.net/weblog/2008/11/13/twenty-megawatts-in-your-hands/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Bringing Streetcars back to DC, part 2</title>
		<link>http://metcaffeination.net/weblog/2008/11/09/bringing-streetcars-back-to-dc-part-2/</link>
		<comments>http://metcaffeination.net/weblog/2008/11/09/bringing-streetcars-back-to-dc-part-2/#comments</comments>
		<pubDate>Sun, 09 Nov 2008 18:47:13 +0000</pubDate>
		<dc:creator>thm</dc:creator>
		
		<category><![CDATA[DC]]></category>

		<category><![CDATA[Metro]]></category>

		<category><![CDATA[energy]]></category>

		<category><![CDATA[environment]]></category>

		<category><![CDATA[rail]]></category>

		<category><![CDATA[streetcars]]></category>

		<guid isPermaLink="false">http://metcaffeination.net/weblog/?p=148</guid>
		<description><![CDATA[Part 1 of this series looked at the beginnings of the DC government&#8217;s effort to expand the transit network. We left off in the Spring of 2005, having been to several meetings and having received several newsletters.
The study finishes
The final project newsletter, Fall 2005, and an &#8220;Executive Summary&#8220; of the whole project were presented to the public [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://metcaffeination.net/weblog/2008/10/29/bringing-streetcars-back-to-dc-part-1/">Part 1</a> of this series looked at the beginnings of the DC government&#8217;s effort to expand the transit network. We left off in the Spring of 2005, having been to several meetings and having received several newsletters.</p>
<p><strong>The study finishes</strong></p>
<p>The final project newsletter, <a href="http://ddot.dc.gov/ddot/frames.asp?doc=/ddot/lib/ddot/transitfuture/publications/newsletters/communityline_2005-3q.pdf">Fall 2005</a>, and an &#8220;<a href="http://metcaffeination.net/weblog/wp-content/uploads/2008/11/dcaa-executive-summary.pdf">Executive Summary</a>&#8220; of the whole project were presented to the public at a final meeting, held September 29, 2005. For transit enthusiasts following the project, the end results were disappointing and frustrating. Instead of a visionary transformation of mobility in the District, the final recommendations proposed a meager streetcar buildout that, despite its modest size, would take 25 years to build. The report was frustrating because it relied on tortured reasoning that bordered on downright dishonesty, it used self-contradictory and mutually inconsistent reasoning, and offered little more than poorly-defined chimeras wrapped up in wishful thinking.</p>
<p>Added to the project was &#8220;Rapid Bus,&#8221; as a lower-class technology mode, joining streetcars and &#8220;bus rapid transit.&#8221; Modes were assigned to routes. The newsletter used separate streetcar and &#8220;bus rapid transit&#8221; assignments, while the executive summary lumped these together as &#8220;premium transit.&#8221; In the newsletter, streetcars got a handful of routes: the crosstown Georgtown to Minnesota Avenue route; the north-south Georgia Avenue route, which would end at K street; a Union Station to Anacostia via Eastern Market route; an M Street SE/SW route, and a short Bolling AFB&#8211;Pennsylvania Ave route. A bit of &#8220;bus rapid transit&#8221; was added: mainly Woodley Park to Eastern Market via Florida Avenue, while the rest of the 50-mile route structure developed over the course of the study was designated &#8220;rapid bus.&#8221;</p>
<p><span id="more-148"></span></p>
<p>On the face of it, we&#8217;re being asked to believe that there is a significant difference between &#8220;bus rapid transit&#8221; and &#8220;rapid bus,&#8221; yet no clear description of the features that differentiate &#8220;bus rapid transit&#8221; from &#8220;rapid bus&#8221; is given. &#8220;Rapid bus&#8221; is supposed to have: limited stops, fancier shelters, real-time arrival information, and signal prioritization, as is &#8220;bus rapid transit.&#8221; They&#8217;re both supposed to use &#8220;large vehicles,&#8221; with those for &#8220;rapid bus&#8221; being &#8220;distinct&#8221; and those for &#8220;bus rapid transit&#8221; supposedly &#8220;recalling the design of streetcars.&#8221;  Even though &#8220;rapid bus&#8221; vehicles &#8220;could be&#8221; 60-foot articulated buses, the largest buses used anywhere in the United States, &#8220;rapid bus&#8221; vehicles &#8220;tend to be smaller&#8221; than &#8220;bus rapid transit&#8221; vehicles. One feature that was mentioned for &#8220;bus rapid transit&#8221; but not for &#8220;rapid bus&#8221; was off-vehicle fare payment.</p>
<p>&#8220;Bus rapid transit&#8221; is said to run &#8220;either on mixed traffic or on dedicated rights-of-way,&#8221; and several of the &#8220;bus rapid transit&#8221; examples cited do make use of dedicated rights-of-way. <a href="http://www.mbta.com/about_the_mbta/t_projects/?id=1072">Boston</a>, <a href="http://www.octranspo.com/mapscheds/Transitway/tway_map_menuE.htm">Ottawa</a>, and <a href="http://www.portauthority.org/PAAC/CustomerInfo/BuswaysandT/tabid/111/Default.aspx">Pittsburgh</a> are explicitly called out as examples of &#8220;bus rapid transit,&#8221; and shows pictures of the system in <a href="http://www.bhns.fr/TEOR-Transport-Est-Ouest-Rouannais.html">Rouen</a>, France. Both Ottawa and Pittsburgh rely on massive, exclusive and grade separated rights of way for their systems, built on abandoned railroad rights-of-way. Rouen&#8217;s TEOR uses several sections of exclusive right-of-way with optical guidance. No similar opportunity for constructing such facilities exists along the corridors proposed for DC, and surely such rights of way would be as incompatible with neighborhood scale as light rail would be. The documents make no mention of the <a href="http://www.sierraclubmass.org/issues/conservation/silverline/sl2.html">heavy criticism</a> that Boston&#8217;s Silver Line has received. Incidentally, neither Boston nor Pittsburgh use off-vehicle fare payment. I find it a little dishonest to cite systems whose success (such as it is) relies on features that are not under consideration for DC.</p>
<p>The proposed timetable for transit buildout is galling. All lines are supposed to start as &#8220;rapid bus.&#8221; Of the meager streetcar and &#8220;bus rapid transit&#8221; network that&#8217;s proposed, the newsletter states &#8220;Naturally it will take time&#8211;two decades, in fact&#8221; to get it built. The system would not be finished until 2030, even though the need is immediate and growing, as was illustrated in the Needs Assessment. And the executive summary mentions Mayor Williams&#8217;s goal of adding 100,000 residents by 2013 is cited: presumably, we don&#8217;t want to make them wait 17 years for adequate transit.</p>
<p>Similarly frustrating is the lumping together of streetcars and &#8220;bus rapid transit,&#8221; as if it&#8217;s possible to create a bus-based system that could be considered equivalent to a rail based system. Although it&#8217;s been quite clear in all the public outreach that there are lots of people who are excited about streetcars, there is no evidence that anyone is excited about more buses. This is not to say that everyone is excited about streetcars, but the opposition to streetcars does not come from an enthusiasm for buses. Streetcars offer better ride quality than buses, and the investment in infrastructure required for streetcars gives other investors confidence in the civic commitment. Indeed, while there are dozens of examples of rail-based urban revival, there are no examples of bus-based revival. Rail has shown itself to be far more attractive to riders: whenever a <a href="http://www.publictransit.us/ptlibrary/TRB1221.htm">bus service is replaced by rail, ridership grows</a>; whenever rail is replaced by bus, ridership drops. </p>
<p>If the final output of the study was underwhelming, what happened next was breathtaking. Once the study was over, absolutely nothing happened. The study documents seemed destined to gather dust on someone&#8217;s shelf. It did not help that the DDOT Mass Transit Administrator, Alex Eckmann, left in February 2005, before many of the reports would be released and decisions would be made. The position would remain vacant until the study was nearly complete. The DDOT director who pushed to get the study underway, Dan Tangherlini, left DDOT in February 2006 to become interim general manager of WMATA. Because this was near the end of then-mayor Williams&#8217;s term, DDOT was left in the hands of the deputy director; no high-profile appointment was made. This left a leadership void from which no push to move forward with the transit project was made.</p>
<p>So how did the study team arrive at its conclusions? <a href="http://metcaffeination.net/weblog/2008/12/15/bringing-streetcars-back-to-dc-part-3/">Part 3</a> of this series will examine the detailed technical documents produced by the study team.</p>
]]></content:encoded>
			<wfw:commentRss>http://metcaffeination.net/weblog/2008/11/09/bringing-streetcars-back-to-dc-part-2/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Dow Jones and Mathematica</title>
		<link>http://metcaffeination.net/weblog/2008/11/01/dow-jones-and-mathematica/</link>
		<comments>http://metcaffeination.net/weblog/2008/11/01/dow-jones-and-mathematica/#comments</comments>
		<pubDate>Sat, 01 Nov 2008 18:59:34 +0000</pubDate>
		<dc:creator>thm</dc:creator>
		
		<category><![CDATA[doing the math]]></category>

		<category><![CDATA[observations]]></category>

		<guid isPermaLink="false">http://metcaffeination.net/weblog/?p=153</guid>
		<description><![CDATA[A recent post by economist-blogger Brad DeLong, which was also picked up Matthew Yglesias, mused upon the clustering of the Dow Jones Industrial Average clustered near values starting with 1. He showed a chart with the years 1971&#8211;1984, and 1996&#8211;2008 circled, when the Dow appeared to fluctuate near 1000 and 10000, respectively. Many commenters quickly [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://delong.typepad.com/sdj/2008/10/do-i-have-to-be.html#comments">A recent post</a> by economist-blogger <a href="http://delong.typepad.com">Brad DeLong</a>, which was also picked up <a href="http://yglesias.thinkprogress.org/archives/2008/10/dow_36000.php">Matthew Yglesias</a>, mused upon the clustering of the <a href="http://finance.yahoo.com/q?s=%5EDJI">Dow Jones Industrial Average</a> clustered near values starting with 1. He showed a chart with the years 1971&#8211;1984, and 1996&#8211;2008 circled, when the Dow appeared to fluctuate near 1000 and 10000, respectively. Many commenters quickly jumped to point out that this was an example of <a href="http://en.wikipedia.org/wiki/Benfords_law">Benford&#8217;s Law</a>, which says, essentially, that if you&#8217;re throwing darts at a logarithmically shaped dartboard, you&#8217;re going to hit &#8220;1&#8243; more often than any other digit. If you pick random values of some phenomenon that is logarithmically distributed, you should get values beginning with &#8220;1&#8243; about 30% of the time, which makes sense if you&#8217;ve ever looked at <a href="http://www.intmath.com/downloads/Log-log.pdf">log scale graph paper</a>.</p>
<p>It occurred to me that this is an easy thing to investigate with Mathematica, much like my<a href="http://metcaffeination.net/weblog/2008/10/01/bailout-and-mathematica/"> earlier post on the Bailout</a>. <a href="http://www.wolfram.com/products/mathematica/index.html">Mathematica 6</a> includes access to a huge library of curated data, including historical values of the Dow Jones Industrial average and other indices (and individual stocks, and so forth). The function here is <code>FinancialData</code><span style="font-family: 'Lucida Grande';">, which Wolfram cautions is experimental: I believe they get the data from the same source as, say, <a href="http://finance.yahoo.com/">Yahoo! Finance</a>, and just do the conversions to make it automatically importable into Mathematica. That is, it is no more reliable than other web-based archives. The computations are absurdly easy, taking only a few lines of Mathematica code. </span></p>
<p>The graph I (eventually) produced shows the relative frequencies of first digits that are calculated by Benford&#8217;s Law, together with the relative frequencies of the leading digits from the Dow Jones Industrial Average, the <a href="http://finance.yahoo.com/q?s=%5EGSPC">S&amp;P 500</a>, the <a href="http://finance.yahoo.com/q?s=%5EIXIC">NASDAQ Composite</a> index, the <a href="http://finance.yahoo.com/q?s=%5EGDAXI">DAX 30</a>, and the <a href="http://finance.yahoo.com/q?s=%5EN225">Nikkei 225</a>:</p>
<p><img class="aligncenter size-full wp-image-156" title="Initial digits updated" src="http://metcaffeination.net/weblog/wp-content/uploads/2008/11/benford1.jpg" alt="" width="400" height="247" /><br />
<span id="more-153"></span>It appears that, for both the Dow and the S&amp;P 500, there is a surplus of 1s as leading digits, and also of 8s and 9s. None of the indices particularly follows Benford&#8217;s Law, although I&#8217;ll leave it to the more statistically inclined to figure out the significance of the variations. </p>
<p>To fetch the historical closing prices, simply tell <code>FinancialData</code> what date range you wish to look at; in this case, it was All:<br />
<code><br />
dowJonesData = FinancialData["^DJI",All];<br />
</code><br />
Use the semicolon to prevent a 20000 element list from being displayed. (Actually, Mathematica 6 is smart enough to know that one usually doesn&#8217;t want to look at lists that long, and would show a shortened version. <code>FinancialData</code> uses the standard ticker symbols for the indices: <code>^GSPC</code> for the S&amp;P 500, <code>^IXIC</code> for NASDAQ Composite, <code>^GDAXI</code> for the DAX 30, and <code>^N225</code> for the Nikkei 225. The function returns a list of date-closing value pairs, such as:<br />
<code><br />
In[]:= dowJonesData[[1]]<br />
Out[]:= {{1928, 10, 1}, 240.01}<br />
</code><br />
I wrote a small function that captures the first digit:<br />
<code><br />
FirstDigit[x_] := RealDigits[x][[1, 1]]<br />
</code><br />
<code>RealDigits</code> returns two things: a list of the digits, and the number of digits to the left of the decimal point, so the <code>[[1,1]]</code> element specifier picks out the first element, i.e. the first digit, from the list of digits.<br />
<code><br />
dowJonesDigits = FirstDigit /@ Transpose[dowJonesData][[2]]<br />
</code><br />
Since <code>dowJonesData</code> is a list of date/value pairs, <code>Transpose</code> transforms it into lists of dates and values, and the second of those is what we need to work with. The shorthand for <code>Map</code> is <code>/@</code>, which performs the function on the left, <code>FirstDigit</code>, on each element of the list on the right. To tally the number of each leading digit, I use <code>BinCounts</code>:<br />
<code><br />
dowJonesDigits=Rest[BinCounts[dowJonesDigits]]<br />
dowJonesDigitFractions=N[dowJonesDigits/Length[dowJonesData]]<br />
</code><br />
Since there are no zeroes as leading digits, but <code>BinCounts</code> starts its tally with zero, I use <code>Rest</code> to remove the first element of the returned list. The <code>N</code> is necessary to avoid getting a bunch of (exact) fractions when computing the percentages.</p>
<p>I won&#8217;t go into detail about the production of the graph (or the table): this is the type of thing that often trips me up in Mathematica. Although it is true the Mathematica has nearly unlimited flexibility to make graphs, finding the right method to do something that isn&#8217;t one of the default options often leads to a frustrating cycle of tweaking, looking at the examples, and experimentation. In this case, getting the legend to come out right was a sticking point.</p>
<p>The same is true with the following table, which I present for anyone wishing to think about the data in more detail. Figuring out the right way to make the number of decimals right for each entry took much longer than it should have.</p>
<p>In any case, here are the individual percentages presented in the graph above, along with the total number of data points for each sample set, and the first day for which <code>FinancialData</code> data is available.</p>
<table border="0">
<tbody>
<tr style="vertical-align:bottom;">
<td style="text-align: center;"><span>Index</span></td>
<td style="text-align: center;"><span>Benford</span></td>
<td style="text-align: center;"><span>Dow Jones</span></td>
<td style="text-align: center;"><span>S&amp;P 500</span></td>
<td style="text-align: center;"><span>NASDAQ</span></td>
<td style="text-align: center;"><span>DAX 30</span></td>
<td style="text-align: center;"><span>Nikkei 225</span></td>
</tr>
<tr style="vertical-align:bottom;">
<td style="text-align: center;"><span>Start</span></td>
<td style="text-align: center;"></td>
<td style="text-align: center;"><span>Oct 1,1928</span></td>
<td style="text-align: center;"><span>01/03/50</span></td>
<td style="text-align: center;"><span>02/05/71</span></td>
<td style="text-align: center;"><span>11/26/90</span></td>
<td style="text-align: center;"><span>01/04/84</span></td>
</tr>
<tr style="vertical-align:bottom;">
<td style="text-align: center;"><span>#</span></td>
<td style="text-align: center;"></td>
<td style="text-align: center;"><span>20124</span></td>
<td style="text-align: center;"><span>14817</span></td>
<td style="text-align: center;"><span>9536</span></td>
<td style="text-align: center;"><span>4539</span></td>
<td style="text-align: center;"><span>6123</span></td>
</tr>
<tr style="vertical-align:bottom;">
<td style="text-align: center;"><span><span class="TextInline"><span class="TRInline"><span>1</span></span></span></span></td>
<td style="text-align: center;"><span>30.1</span></td>
<td style="text-align: center;"><span>35.42</span></td>
<td style="text-align: center;"><span>36.3</span></td>
<td style="text-align: center;"><span>36.71</span></td>
<td style="text-align: center;"><span>16.59</span></td>
<td style="text-align: center;"><span>65.31</span></td>
</tr>
<tr style="vertical-align:bottom;">
<td style="text-align: center;"><span><span class="TextInline"><span class="TRInline"><span>2</span></span></span></span></td>
<td style="text-align: center;"><span>17.61</span></td>
<td style="text-align: center;"><span>12.65</span></td>
<td style="text-align: center;"><span>11.24</span></td>
<td style="text-align: center;"><span>23.7</span></td>
<td style="text-align: center;"><span>19.78</span></td>
<td style="text-align: center;"><span>22.85</span></td>
</tr>
<tr style="vertical-align:bottom;">
<td style="text-align: center;"><span><span class="TextInline"><span class="TRInline"><span>3</span></span></span></span></td>
<td style="text-align: center;"><span>12.49</span></td>
<td style="text-align: center;"><span>6.39</span></td>
<td style="text-align: center;"><span>6.93</span></td>
<td style="text-align: center;"><span>10.58</span></td>
<td style="text-align: center;"><span>11.99</span></td>
<td style="text-align: center;"><span>6.11</span></td>
</tr>
<tr style="vertical-align:bottom;">
<td style="text-align: center;"><span><span class="TextInline"><span class="TRInline"><span>4</span></span></span></span></td>
<td style="text-align: center;"><span>9.69</span></td>
<td style="text-align: center;"><span>4.78</span></td>
<td style="text-align: center;"><span>11.</span></td>
<td style="text-align: center;"><span>8.15</span></td>
<td style="text-align: center;"><span>16.13</span></td>
<td style="text-align: center;"><span>0</span></td>
</tr>
<tr style="vertical-align:bottom;">
<td style="text-align: center;"><span><span class="TextInline"><span class="TRInline"><span>5</span></span></span></span></td>
<td style="text-align: center;"><span>7.92</span></td>
<td style="text-align: center;"><span>3.72</span></td>
<td style="text-align: center;"><span>5.8</span></td>
<td style="text-align: center;"><span>3.24</span></td>
<td style="text-align: center;"><span>15.71</span></td>
<td style="text-align: center;"><span>0</span></td>
</tr>
<tr style="vertical-align:bottom;">
<td style="text-align: center;"><span><span class="TextInline"><span class="TRInline"><span>6</span></span></span></span></td>
<td style="text-align: center;"><span>6.69</span></td>
<td style="text-align: center;"><span>5.5</span></td>
<td style="text-align: center;"><span>4.75</span></td>
<td style="text-align: center;"><span>3.16</span></td>
<td style="text-align: center;"><span>11.35</span></td>
<td style="text-align: center;"><span>0</span></td>
</tr>
<tr style="vertical-align:bottom;">
<td style="text-align: center;"><span><span class="TextInline"><span class="TRInline"><span>7</span></span></span></span></td>
<td style="text-align: center;"><span>5.8</span></td>
<td style="text-align: center;"><span>5.99</span></td>
<td style="text-align: center;"><span>4.22</span></td>
<td style="text-align: center;"><span>6.66</span></td>
<td style="text-align: center;"><span>7.91</span></td>
<td style="text-align: center;"><span>0.42</span></td>
</tr>
<tr style="vertical-align:bottom;">
<td style="text-align: center;"><span><span class="TextInline"><span class="TRInline"><span>8</span></span></span></span></td>
<td style="text-align: center;"><span>5.12</span></td>
<td style="text-align: center;"><span>13.78</span></td>
<td style="text-align: center;"><span>7.96</span></td>
<td style="text-align: center;"><span>3.18</span></td>
<td style="text-align: center;"><span>0.55</span></td>
<td style="text-align: center;"><span>2.61</span></td>
</tr>
<tr style="vertical-align:bottom;">
<td style="text-align: center;"><span><span class="TextInline"><span class="TRInline"><span>9</span></span></span></span></td>
<td style="text-align: center;"><span>4.58</span></td>
<td style="text-align: center;"><span>11.78</span></td>
<td style="text-align: center;"><span>11.8</span></td>
<td style="text-align: center;"><span>4.62</span></td>
<td style="text-align: center;"><span>0</span></td>
<td style="text-align: center;"><span>2.69</span></td>
</tr>
</tbody>
</table>
<p> <strong>Update, 20 Nov 2008</strong>: fixed Nikkei column in table.</p>
]]></content:encoded>
			<wfw:commentRss>http://metcaffeination.net/weblog/2008/11/01/dow-jones-and-mathematica/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Bringing Streetcars back to DC, part 1</title>
		<link>http://metcaffeination.net/weblog/2008/10/29/bringing-streetcars-back-to-dc-part-1/</link>
		<comments>http://metcaffeination.net/weblog/2008/10/29/bringing-streetcars-back-to-dc-part-1/#comments</comments>
		<pubDate>Wed, 29 Oct 2008 15:17:02 +0000</pubDate>
		<dc:creator>thm</dc:creator>
		
		<category><![CDATA[DC]]></category>

		<category><![CDATA[environment]]></category>

		<category><![CDATA[rail]]></category>

		<category><![CDATA[streetcars]]></category>

		<guid isPermaLink="false">http://metcaffeination.net/weblog/?p=144</guid>
		<description><![CDATA[Prologue
Bringing a 50-mile streetcar network to Washington DC is the top priority for the DC Chapter of the Sierra Club. I have been following this issue with the Sierra Club since 2002, and it was recently suggested to me that I write down a brief history of the effort, to provide context for those new to the subject. [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Prologue</strong></p>
<p>Bringing a 50-mile streetcar network to Washington DC is the top priority for the <a href="http://dc.sierraclub.org/">DC Chapter</a> of the <a href="http://sierraclub.org">Sierra Club</a>. I have been following this issue with the Sierra Club since 2002, and it was recently suggested to me that I write down a brief history of the effort, to provide context for those new to the subject. Current progress on the issue is blogged at <a href="http://streetcars4dc.org/">streetcars4dc.org</a>. </p>
<p><strong>The DC Transit Improvements Alternatives Analysis gets underway.</strong></p>
<p>The last time streetcars ran in DC was the early morning of January 28th, 1962, after which all lines were converted to buses. Such was the state of public transit in the District until <a href="http://wmata.com/about/history.pdf">March 27, 1976</a>, when <a href="http://wmata.com/about/metrofacts.pdf">Metrorail</a> opened. Metrorail, of course, has been a tremendous success, but it does not serve all areas of DC, and was designed primarily to move suburban commuters to their jobs in downtown DC.</p>
<p>The District government has, in principle, been planning to bring streetcars back to DC for some time now. My involvement began in September 2002, when I testified on behalf of the  at a joint oversight hearing of the DC City Council. A relatively small, two-year study had recently been completed (<a href="http://ddot.dc.gov/ddot/frames.asp?doc=/ddot/lib/ddot/information/documents/frames/transit_study.pdf&amp;open=|32399|">DC Transit Development Study</a>), and then-<a href="http://ddot.dc.gov">DDOT</a> director Dan Tangherlini, and then-DDOT Mass Transit Administrator Alex Eckmann went before the council <a href="http://ddot.dc.gov/ddot/cwp/view,a,1247,q,560073,ddotNav_GID,1759,ddotNav,|34384|.asp">(read their presentation</a>) to ask that a more expansive study be funded. Plans to expand transit in the District stretch back further than that, and are generally said to have begun with the Barry-era <a href="http://ddot.dc.gov/ddot/cwp/view,A,1247,Q,560087.asp">DC Vision Study of 1997</a>, itself 2 years in the making. And after more than ten years of talk and study, there are still no streetcars.</p>
<p><span id="more-144"></span></p>
<p>DC Vision had proposed four light rail corridors and a new crosstown Metrorail line. The Transit Development Study had looked at nine potential routes, and from that, DDOT proposed what amounts to five corridors for further study. Three were crosstown routes, converging in the east at the Minnesota Avenue Metro and crossing the river together. Two of these followed a northern route, heading west to Union station, from which one would go northwest to Woodley Park and another would head to Georgetown. The third crosstown route headed south to the Navy Yard, and continued to Waterfront. A north-south route followed Georgia Avenue/7th Street from Silver Spring to Waterfront, and an east-of-the-river route that went from Minnesota Avenue, to Anacostia, and finally to National Harbor.</p>
<p>The study that did go forward, formally the DC Transit Improvements Alternatives Analysis, was indeed quite extensive. A joint effort between DDOT and WMATA, most of the actual work of the study was done by transportation engineering firm <a href="http://www.dmjmharris.com/">DMJM+Harris</a>. Numerous public meetings were held, fancy full-color newsletters and brochures were produced, and scores of meetings with community groups were held, including one with the Sierra Club in October 2003. Tangherlini and Eckmann both spoke enthusiastically about the plans for the 2002 <a href="http://www.railvolution.com/">Rail-Volution</a> conference, which was held in DC that year. </p>
<p>Throughout 2003, a series of semi-public meetings were held: nobody would be excluded, but they were advertised primarily to civic leaders. In July I made it to the meeting in the Mt. Pleasant neighborhood, at which, it turned out, I was the only attendee to show up. From a public outreach standpoint, this is not so good, but for a transit wonk like myself, a detailed, hour-long conversation with the project leaders was something of a treat. In the fall, the project released the first of what would be five project newsletters (<a href="http://ddot.dc.gov/ddot/frames.asp?doc=/ddot/lib/ddot/transitfuture/publications/newsletters/communityline_2003-3q.pdf">Fall 03</a>, <a href="http://ddot.dc.gov/ddot/frames.asp?doc=/ddot/lib/ddot/transitfuture/publications/newsletters/communityline_2004-2q.pdf">Spring 04</a>, <a href="http://ddot.dc.gov/ddot/frames.asp?doc=/ddot/lib/ddot/transitfuture/publications/newsletters/communityline_2004-3q.pdf">Fall 04</a>, <a href="http://ddot.dc.gov/ddot/frames.asp?doc=/ddot/lib/ddot/transitfuture/publications/newsletters/communityline_2005-2q.pdf">Spring 05</a>, <a href="http://ddot.dc.gov/ddot/frames.asp?doc=/ddot/lib/ddot/transitfuture/publications/newsletters/communityline_2005-3q.pdf">Fall 05</a>).</p>
<p>By Spring 2004, the list of routes under consideration had grown, and in addition, the route lines were drawn as narrow lines following actual streets, instead of broad bands indicating a general route. A route up Wisconsin Avenue was added, as was a Brookland-Columbia Heights-Woodley Park crosstown route. Alternate alignments for the southern route from Woodley Park were added: one that headed to New York Avenue and then went south to Eastern Market, and the other going to Union Station and snaking across the Capitol to Eastern Market. By the Fall of 2004, a Foggy Bottom-Waterfront route, hugging the Potomac, had been added, a a spur East of the River was added. The map presented in the Spring of 2005 backed off of showing lines along particular streets to re-work the routes into nine &#8220;proposed corridors.&#8221;</p>
<p>The newsletters, and other project documents, were available on a well-publicized, but regretfully, now defunct website called dctransitfuture.com (<a href="http://web.archive.org/web/20051230154352/http://www.dctransitfuture.com/">archived on the Internet Wayback Machine</a>), and many of them are now on <a href="http://ddot.dc.gov/ddot/cwp/view,a,1250,q,643387,ddotNav_GID,1760,ddotNav,|34399|.asp">DDOT&#8217;s website</a>. In conjunction with the public meetings and widely distributed newsletters, some substantial analysis analysis of transportation services and demand was being conducted, which culminated in the <a href="http://ddot.dc.gov/ddot/cwp/view,a,1250,q,643415,ddotNav_GID,1760,ddotNav,|34399|.asp">Needs Assessment</a>, released in June 2004. Not surprisingly, it found a great need for expanded transit in the city. One of the most telling parts (Fig. 6, p. 17) shows a map illustrating the density of households with no car available: this quite clearly shows the need for high-capacity transit along Georgia Avenue and along H Street NE. Nearly all of the corridors from the 2004 newsletters were identified in the Needs Assessment as &#8220;recommended priority transit corridors&#8221; (Fig. 20, p. 43).</p>
<p>The project team met with the Sierra Club for the second time in June 2004. I recall asking if there was some thing we could focus on that could help move the project forward; the project team demurred, assuring us they had everything under control. The Fall 2004 newsletter announced that the technologies chosen for further study were streetcars and &#8220;bus rapid transit.&#8221; Through spring 2005, all the route maps presented in every facet of the study treated all the routes equally&#8211;they were drawn with the same thickness of lines with no distinguishing features&#8211;and no association of routes with technology had been yet indicated. The graphics had emphasized streetcars, modern and historic. Small features in the newsletters highlight the benefits of bringing a streetcar&#8211;and not a bus&#8211;to a specific neighborhood. </p>
<p>The point made in Fall 2004 about streetcars was first that they were not considering more Metrorail, but also that it would not be the type of light rail one sees in Sacramento or Dallas or Denver. That is, it would not get dedicated rights-of-way, and would probably not be designed for long, multi-car trains. This makes sense: in these cities, the light rail is the only rail transportation and performs both suburban commuter and urban mobility functions. In DC, the transit is to be overlaid on top of Metrorail, which performs the suburban commuter function quite well.</p>
<p>The Fall 2004 discussion of &#8220;bus rapid transit&#8221; uses the subtle dishonesty which I&#8217;ve found to be typical of bus advocacy: it&#8217;s said to &#8220;combine the best of rail and bus,&#8221; begging the question of whether buses can ever provide service equivalent to rail (to which I answer &#8220;no&#8221;). Also mentioned is the fact that buses running on dedicated rights-of-way can be much faster than ordinary buses, which is a red herring: it&#8217;s already apparent that a dedicated right-of-way, for any sort of vehicle, is not being considered.</p>
<p>At any rate, those following the study at this point had reason to be optimistic.</p>
<p><a href="http://metcaffeination.net/weblog/2008/11/09/bringing-streetcars-back-to-dc-part-2/">Part 2</a> of this series will look at the conclusion of the study, in the second half of 2005. <a href="http://metcaffeination.net/weblog/2008/12/15/bringing-streetcars-back-to-dc-part-3/">Part 3</a> summarizes the technical documents produced as part of the study. Further parts will look at the Anacostia Starter line and the issue of overhead wires.</p>
]]></content:encoded>
			<wfw:commentRss>http://metcaffeination.net/weblog/2008/10/29/bringing-streetcars-back-to-dc-part-1/feed/</wfw:commentRss>
		</item>
		<item>
		<title>My new line for telemarketers</title>
		<link>http://metcaffeination.net/weblog/2008/10/21/my-new-line-for-telemarketers/</link>
		<comments>http://metcaffeination.net/weblog/2008/10/21/my-new-line-for-telemarketers/#comments</comments>
		<pubDate>Wed, 22 Oct 2008 03:39:07 +0000</pubDate>
		<dc:creator>thm</dc:creator>
		
		<category><![CDATA[consumer society]]></category>

		<guid isPermaLink="false">http://metcaffeination.net/weblog/?p=142</guid>
		<description><![CDATA[
I actually don&#8217;t talk to many telemarketers anymore&#8211;I&#8217;m on the do not call list, so nobody&#8217;s been calling to sell me aluminum siding or vacation get-aways. Ever since cell phones really took off, it seems that the long distance companies aren&#8217;t falling over themselves to get you to switch to their plan, although I do [...]]]></description>
			<content:encoded><![CDATA[<div>
<p>I actually don&#8217;t talk to many telemarketers anymore&#8211;I&#8217;m on the <a href="http://www.donotcall.gov/">do not call list</a>, so nobody&#8217;s been calling to sell me aluminum siding or vacation get-aways. Ever since cell phones really took off, it seems that the long distance companies aren&#8217;t falling over themselves to get you to switch to their plan, although I do remember plenty of this in the late 90&#8217;s. And although we don&#8217;t have caller ID, we&#8217;ve gotten pretty good about catching the second or so delay from the robodialers and hang up before the telemarketer comes online.</p>
<p>But sometimes someone does get through, and it&#8217;s usually either a charity (usually one that I nominally support) or a political campaign, asking for more money. However, I really, strongly prefer to give on my own terms and on my own schedule, and not theirs. So I want to get rid of them, in some way that&#8217;s still polite. So this is what I say now:</p>
<blockquote><p>Although I will continue to support [your cause], I do not make financial commitments over the phone due to identity theft concerns.</p></blockquote>
<p>All I have to do now is think of a line to get rid of the (overpriced) identity theft &#8220;protection&#8221; sales pitches that my credit card companies foist upon me.</p></div>
]]></content:encoded>
			<wfw:commentRss>http://metcaffeination.net/weblog/2008/10/21/my-new-line-for-telemarketers/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Peregrine espresso</title>
		<link>http://metcaffeination.net/weblog/2008/10/20/peregrine-espresso/</link>
		<comments>http://metcaffeination.net/weblog/2008/10/20/peregrine-espresso/#comments</comments>
		<pubDate>Tue, 21 Oct 2008 02:58:37 +0000</pubDate>
		<dc:creator>thm</dc:creator>
		
		<category><![CDATA[DC]]></category>

		<category><![CDATA[coffee]]></category>

		<guid isPermaLink="false">http://metcaffeination.net/weblog/?p=140</guid>
		<description><![CDATA[For those that live on Capitol Hill, this is old news, but the good news is that Peregrine Espresso has opened, in the space that once occupied by Murky Coffee. The better news is that Peregrine is co-owned by a former Murky Coffee employee (and 2005 Southeast Regional Barista Champion [warning:pdf]) Ryan Jensen. Which is to say, [...]]]></description>
			<content:encoded><![CDATA[<p>For those that live on Capitol Hill, this is old news, but the good news is that <a href="http://peregrineespresso.com/">Peregrine Espresso</a> has opened, in the space that <a href="http://metcaffeination.net/weblog/2008/03/25/murky-no-more/">once occupied</a> by <a href="http://murkycoffee.com/">Murky Coffee</a>. The better news is that Peregrine is co-owned by a former Murky Coffee employee (and <a href="http://www.scaa.org/pdfs/news/2004_2005_RegionalBaristaCompetitions.pdf">2005 Southeast Regional Barista Champion</a> [warning:pdf]) Ryan Jensen. Which is to say, Peregine continues, and expands upon, Murky&#8217;s pursuit of coffee excellence.</p>
<p>I visited Peregrine for the first time Saturday. The space has been remodeled to look much cleaner&#8211;in fact, nothing from the old Murky remains. <a href="http://peregrineespresso.wordpress.com/">Their blog</a> has several pictures. The chalkboard menus are gone, the walls are painted, the floors are freshly finished. The menu has been simplified, to the point where each drink comes in only one size. The brewed coffee offerings are given more prominence. </p>
<p>Peregrine gets its coffee from <a href="http://www.counterculturecoffee.com/">Counter Culture Coffee</a>, the same supplier that Murky uses. Their milk comes from <a href="http://www.tricklingspringscreamery.com/">Trickling Springs Creamery</a>, a relatively local dairy in Pennsylvania that sells milk in re-usable and returnable glass bottles. This is one step beyond Murky, which as far as I know used ordinary supermarket milk. </p>
<p>I had a cappuccino&#8211;regrettably, to go, as there were no free seats. Even in the (appropriately sized) to-go cup, the barista poured a small rosetta. It had been months since I&#8217;d had a &#8220;<a href="http://www.baristamagazine.com/Issues/VolumeII/AprilMay06/aprilmay06-third.html">third-wave</a>&#8221; cappuccino: the way-beyond-starbucks, hand-crafted expression of exactly how amazing coffee can be. Delightful.</p>
<p>Coffee lovers in Washington do owe much to Nick Cho, owner of Murky. That his business skills are sloppy is unfortunate, but he planted the seeds of coffee culture in DC. That a former employee is able to open a cafe that improves upon its predecessor reflects both the technical training and the enthusiasm for coffee that Nick imbued his employees with.</p>
]]></content:encoded>
			<wfw:commentRss>http://metcaffeination.net/weblog/2008/10/20/peregrine-espresso/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Bailout and Mathematica</title>
		<link>http://metcaffeination.net/weblog/2008/10/01/bailout-and-mathematica/</link>
		<comments>http://metcaffeination.net/weblog/2008/10/01/bailout-and-mathematica/#comments</comments>
		<pubDate>Thu, 02 Oct 2008 03:41:38 +0000</pubDate>
		<dc:creator>thm</dc:creator>
		
		<category><![CDATA[consumer society]]></category>

		<category><![CDATA[doing the math]]></category>

		<category><![CDATA[politics]]></category>

		<guid isPermaLink="false">http://metcaffeination.net/weblog/?p=134</guid>
		<description><![CDATA[A friend of mine (and regular commenter here) has pointed out that, even if the $700,000,000,000 bailout passes, and adds to our National Debt, we&#8217;d still have a Debt-to-GDP ratio that was less than Germany&#8217;s.1 Wikipedia says that the US National Debt is 60.8% of our GDP, that Germany&#8217;s is 63.1%, and that our GDP [...]]]></description>
			<content:encoded><![CDATA[<p>A friend of mine (and regular commenter here) has pointed out that, even if the $700,000,000,000 bailout passes, and adds to our National Debt, we&#8217;d still have a <a href="http://en.wikipedia.org/wiki/List_of_countries_by_public_debt">Debt-to-GDP ratio</a> that was less than Germany&#8217;s.<sup>1</sup> Wikipedia says that the US National Debt is 60.8% of our GDP, that Germany&#8217;s is 63.1%, and that our GDP is $13.8 trillion. Well, add $700 billion to 60.8% of $13.8 trillion and the new figure is 65.8%&#8211;pretty close; there are different ways of measuring both GDP and the Debt.</p>
<p>But I realized that this sort of comparison is something that <a href="http://www.wolfram.com/products/mathematica/index.html">Mathematica 6</a> is supposed to be good at.  Mathematica is an amazingly powerful system for doing mathematics on a computer. Its strength, traditionally, has been symbolic manipulation&#8211;I most often use it for the <a href="http://integrals.wolfram.com/index.jsp">Integrate</a> command, which can do most of the integrals that in grad school I&#8217;d look up in <a href="http://www.mathtable.com/gr/">Gradshteyn and Ryzhik</a>. Version 6 has added, <a href="http://www.wolfram.com/products/mathematica/newin6/">amongst other things</a>, a<a href="http://www.wolfram.com/products/mathematica/newin6/content/LoadOnDemandCuratedData/"> huge library of curated data</a>, loaded over the Internet, that&#8217;s relatively straightforward to use.</p>
<p>The command <a href="http://reference.wolfram.com/mathematica/ref/CountryData.html">CountryData</a> gives access to all sorts of country-by-country information, including &#8220;GDP&#8221; and &#8220;GovernmentDebt&#8221;. So following one of the examples in the documentation, I produced this graph, plotting the Debt-to-GDP ratio versus GDP for (nearly) all the countries for which Mathematica has data. (Note that the x-axis is a logarithmic scale.) The United States, before and after a $700 billion bailout, are shown in green and red, respectively. </p>
<p>If the xhtml export actually works the way it&#8217;s supposed to, you should be able to hover your mouse cursor over each point and have a little ToolTip pop up telling you which country the data are for.</p>
<table class='Output'>
<tr style='vertical-align:middle;'>
<td style='text-align: center;'><span><img src='http://metcaffeination.net/weblog/wp-content/uploads/2008/10/debtgdpxhtml_1.gif' alt='"debtgdp.xhtml_1.gif"' width='400' height='262' style='vertical-align:middle' usemap='#map_1'/></p>
<map name='map_1'>
<area shape='rect' coords='374,172,378,168' title='Bailed Out United States' />
<area shape='rect' coords='374,178,378,174' title='Present United States' />
<area shape='rect' coords='41,91,45,87' title='Zimbabwe' />
<area shape='rect' coords='109,193,113,189' title='Zambia' />
<area shape='rect' coords='128,214,132,210' title='Yemen' />
<area shape='rect' coords='171,197,175,193' title='Vietnam' />
<area shape='rect' coords='213,219,217,215' title='Venezuela' />
<area shape='rect' coords='123,216,127,212' title='Uzbekistan' />
<area shape='rect' coords='130,166,134,162' title='Uruguay' />
<area shape='rect' coords='374,178,378,174' title='United States' />
<area shape='rect' coords='309,202,313,198' title='United Kingdom' />
<area shape='rect' coords='214,233,218,229' title='United Arab Emirates' />
<area shape='rect' coords='194,232,198,228' title='Ukraine' />
<area shape='rect' coords='107,183,111,179' title='Uganda' />
<area shape='rect' coords='242,176,246,172' title='Turkey' />
<area shape='rect' coords='147,183,151,179' title='Tunisia' />
<area shape='rect' coords='128,207,132,203' title='Trinidad and Tobago' />
<area shape='rect' coords='218,201,222,197' title='Thailand' />
<area shape='rect' coords='115,174,119,170' title='Tanzania' />
<area shape='rect' coords='235,209,239,205' title='Taiwan' />
<area shape='rect' coords='148,210,152,206' title='Syria' />
<area shape='rect' coords='241,189,245,185' title='Switzerland' />
<area shape='rect' coords='241,194,245,190' title='Sweden' />
<area shape='rect' coords='152,162,156,158' title='Sudan' />
<area shape='rect' coords='143,155,147,151' title='Sri Lanka' />
<area shape='rect' coords='285,202,289,198' title='Spain' />
<area shape='rect' coords='272,227,276,223' title='South Korea' />
<area shape='rect' coords='225,208,229,204' title='South Africa' />
<area shape='rect' coords='154,217,158,213' title='Slovenia' />
<area shape='rect' coords='169,212,173,208' title='Slovakia' />
<area shape='rect' coords='202,144,206,140' title='Singapore' />
<area shape='rect' coords='7,59,11,55' title='Seychelles' />
<area shape='rect' coords='153,206,157,202' title='Serbia' />
<area shape='rect' coords='103,200,107,196' title='Senegal' />
<area shape='rect' coords='240,204,244,200' title='Saudi Arabia' />
<area shape='rect' coords='277,236,281,232' title='Russia' />
<area shape='rect' coords='199,229,203,225' title='Romania' />
<area shape='rect' coords='167,215,171,211' title='Qatar' />
<area shape='rect' coords='216,178,220,174' title='Portugal' />
<area shape='rect' coords='236,200,240,196' title='Poland' />
<area shape='rect' coords='197,178,201,174' title='Philippines' />
<area shape='rect' coords='187,210,191,206' title='Peru' />
<area shape='rect' coords='102,213,106,209' title='Paraguay' />
<area shape='rect' coords='87,205,91,201' title='Papua New Guinea' />
<area shape='rect' coords='125,181,129,177' title='Panama' />
<area shape='rect' coords='206,201,210,197' title='Pakistan' />
<area shape='rect' coords='153,240,157,236' title='Oman' />
<area shape='rect' coords='236,197,240,193' title='Norway' />
<area shape='rect' coords='202,237,206,233' title='Nigeria' />
<area shape='rect' coords='82,161,86,157' title='Nicaragua' />
<area shape='rect' coords='194,222,198,218' title='New Zealand' />
<area shape='rect' coords='262,191,266,187' title='Netherlands' />
<area shape='rect' coords='88,211,92,207' title='Namibia' />
<area shape='rect' coords='94,225,98,221' title='Mozambique' />
<area shape='rect' coords='175,183,179,179' title='Morocco' />
<area shape='rect' coords='65,168,69,164' title='Moldova' />
<area shape='rect' coords='270,229,274,225' title='Mexico' />
<area shape='rect' coords='89,172,93,168' title='Mauritius' />
<area shape='rect' coords='206,201,210,197' title='Malaysia' />
<area shape='rect' coords='49,32,53,28' title='Malawi' />
<area shape='rect' coords='88,213,92,209' title='Macedonia' />
<area shape='rect' coords='146,229,150,225' title='Lithuania' />
<area shape='rect' coords='166,240,170,236' title='Libya' />
<area shape='rect' coords='135,50,139,46' title='Lebanon' />
<area shape='rect' coords='131,238,135,234' title='Latvia' />
<area shape='rect' coords='192,237,196,233' title='Kuwait' />
<area shape='rect' coords='138,201,142,197' title='Kenya' />
<area shape='rect' coords='182,239,186,235' title='Kazakhstan' />
<area shape='rect' coords='119,168,123,164' title='Jordan' />
<area shape='rect' coords='333,62,337,58' title='Japan' />
<area shape='rect' coords='107,104,111,100' title='Jamaica' />
<area shape='rect' coords='127,179,131,175' title='Ivory Coast' />
<area shape='rect' coords='300,129,304,125' title='Italy' />
<area shape='rect' coords='204,142,208,138' title='Israel' />
<area shape='rect' coords='220,219,224,215' title='Ireland' />
<area shape='rect' coords='224,218,228,214' title='Iran' />
<area shape='rect' coords='240,203,244,199' title='Indonesia' />
<area shape='rect' coords='273,193,277,189' title='India' />
<area shape='rect' coords='122,211,126,207' title='Iceland' />
<area shape='rect' coords='196,182,200,178' title='Hungary' />
<area shape='rect' coords='215,246,219,242' title='Hong Kong' />
<area shape='rect' coords='103,177,107,173' title='Honduras' />
<area shape='rect' coords='147,216,151,212' title='Guatemala' />
<area shape='rect' coords='233,158,237,154' title='Greece' />
<area shape='rect' coords='113,174,117,170' title='Ghana' />
<area shape='rect' coords='317,173,321,169' title='Germany' />
<area shape='rect' coords='104,215,108,211' title='Gabon' />
<area shape='rect' coords='307,175,311,171' title='France' />
<area shape='rect' coords='219,206,223,202' title='Finland' />
<area shape='rect' coords='116,162,120,158' title='Ethiopia' />
<area shape='rect' coords='123,243,127,239' title='Estonia' />
<area shape='rect' coords='104,243,108,239' title='Equatorial Guinea' />
<area shape='rect' coords='128,198,132,194' title='El Salvador' />
<area shape='rect' coords='195,137,199,133' title='Egypt' />
<area shape='rect' coords='158,210,162,206' title='Ecuador' />
<area shape='rect' coords='148,200,152,196' title='Dominican Republic' />
<area shape='rect' coords='229,208,233,204' title='Denmark' />
<area shape='rect' coords='204,222,208,218' title='Czech Republic' />
<area shape='rect' coords='128,174,132,170' title='Cyprus' />
<area shape='rect' coords='159,198,163,194' title='Croatia' />
<area shape='rect' coords='135,189,139,185' title='Costa Rica' />
<area shape='rect' coords='201,195,205,191' title='Colombia' />
<area shape='rect' coords='314,227,318,223' title='China' />
<area shape='rect' coords='205,241,209,237' title='Chile' />
<area shape='rect' coords='286,177,290,173' title='Canada' />
<area shape='rect' coords='128,179,132,175' title='Cameroon' />
<area shape='rect' coords='147,216,151,212' title='Bulgaria' />
<area shape='rect' coords='280,203,284,199' title='Brazil' />
<area shape='rect' coords='101,240,105,236' title='Botswana' />
<area shape='rect' coords='110,221,114,217' title='Bosnia and Herzegovina' />
<area shape='rect' coords='16,155,20,151' title='Bhutan' />
<area shape='rect' coords='242,146,246,142' title='Belgium' />
<area shape='rect' coords='177,200,181,196' title='Bangladesh' />
<area shape='rect' coords='123,216,127,212' title='Bahrain' />
<area shape='rect' coords='131,239,135,235' title='Azerbaijan' />
<area shape='rect' coords='235,177,239,173' title='Austria' />
<area shape='rect' coords='268,231,272,227' title='Australia' />
<area shape='rect' coords='52,197,56,193' title='Aruba' />
<area shape='rect' coords='220,177,224,173' title='Argentina' />
<area shape='rect' coords='163,221,167,217' title='Angola' />
<area shape='rect' coords='197,217,201,213' title='Algeria' />
<area shape='rect' coords='167,215,171,211' title='Qatar' />
<area shape='rect' coords='202,237,206,233' title='Nigeria' />
<area shape='rect' coords='262,191,266,187' title='Netherlands' />
<area shape='rect' coords='88,211,92,207' title='Namibia' />
<area shape='rect' coords='65,168,69,164' title='Moldova' />
<area shape='rect' coords='270,229,274,225' title='Mexico' />
<area shape='rect' coords='89,172,93,168' title='Mauritius' />
<area shape='rect' coords='88,213,92,209' title='Macedonia' />
<area shape='rect' coords='146,229,150,225' title='Lithuania' />
<area shape='rect' coords='166,240,170,236' title='Libya' />
<area shape='rect' coords='192,237,196,233' title='Kuwait' />
<area shape='rect' coords='220,219,224,215' title='Ireland' />
<area shape='rect' coords='147,216,151,212' title='Guatemala' />
<area shape='rect' coords='233,158,237,154' title='Greece' />
<area shape='rect' coords='104,215,108,211' title='Gabon' />
<area shape='rect' coords='148,200,152,196' title='Dominican Republic' />
<area shape='rect' coords='229,208,233,204' title='Denmark' />
<area shape='rect' coords='201,195,205,191' title='Colombia' />
<area shape='rect' coords='147,216,151,212' title='Bulgaria' />
<area shape='rect' coords='16,155,20,151' title='Bhutan' />
<area shape='rect' coords='242,146,246,142' title='Belgium' />
<area shape='rect' coords='220,177,224,173' title='Argentina' />
<area shape='rect' coords='163,221,167,217' title='Angola' />
<area shape='rect' coords='197,217,201,213' title='Algeria' />
</map>
<p></span></td>
</tr>
<tr style='vertical-align:middle;'>
<td style='text-align: center;'><span><span class="TextInline"><span class="TRInline"><span>GDP [$US]</span></span></span></span></td>
</tr>
</table>
<p>Mathematica has a syntax that strikes many as arcane. Since I learned about computers with <a href="http://en.wikipedia.org/wiki/Procedural_programming">procedural programming</a>, and haven&#8217;t really done any <a href="http://en.wikipedia.org/wiki/Functional_programming">functional programming</a>, I too struggle to get Mathematica to do what I want it to do. But one can often do complicated things, such as the above graph, with a very compact command. To make the main graph&#8211;the red and green dots are relatively trivial additions&#8211;the command I used is:<br />
<span id="more-134"></span><br />
<code><br />
gdpplot =<br />
 ListLogLinearPlot[<br />
  Tooltip[{CountryData[#, "GDP"],<br />
      CountryData[#, "GovernmentDebt"]/CountryData[#, "GDP"]},<br />
     CountryData[#, "Name"]] &#038; /@ CountryData["Countries"],<br />
  PlotRange -> {{10^9, 2 10^13}, {0, 2}}]<br />
</code></p>
<p>There are a couple things one needs to understand for this to make sense: First is Mathematica&#8217;s syntax for <a href="http://reference.wolfram.com/mathematica/tutorial/PureFunctions.html">pure functions</a>, using all the stuff with the #s and up through the &#038;. Second, the /@ is shorthand for the <a href="http://reference.wolfram.com/mathematica/ref/Map.html">Map</a> command, which means apply the function on the left to each element of the list on the right. Finally, the command <code>CountryData["Countries"]</code> produces a list of all the countries for which Mathematica has data.</p>
<ol class="footnotes"><li id="footnote_0_134" class="footnote">He is, nevertheless, against the bailout.</li></ol>]]></content:encoded>
			<wfw:commentRss>http://metcaffeination.net/weblog/2008/10/01/bailout-and-mathematica/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
