<?xml version="1.0" encoding="UTF-8" standalone="yes"?><oembed><version><![CDATA[1.0]]></version><provider_name><![CDATA[Azimuth]]></provider_name><provider_url><![CDATA[https://johncarlosbaez.wordpress.com]]></provider_url><author_name><![CDATA[John Baez]]></author_name><author_url><![CDATA[https://johncarlosbaez.wordpress.com/author/johncarlosbaez/]]></author_url><title><![CDATA[Category Theory for Better&nbsp;Spreadsheets]]></title><type><![CDATA[link]]></type><html><![CDATA[<p><a href="http://www.indiegogo.com/projects/make-spreadsheets-safe--2"><img width="450" src="https://images.indiegogo.com/medias/1209498/primary_pictures/full/20140121065844-before_modules_620_mss.png?1390316328" /></a></p>
<p>Since one goal of Azimuth is to connect mathematicians to projects that can more immediately help the world, I want to pass this on.   It&#8217;s a press release put out by Jocelyn Paine, who has blogged about applied category theory <a href="http://golem.ph.utexas.edu/category/2009/04/graphical_category_theory_demo.html">on the <i>n</i>-Category Café</a>.  I think he&#8217;s a serious guy, so I hope we can help him out!</p>
<blockquote><p>
Spreadsheet researcher Jocelyn Ireson-Paine has launched an Indiegogo campaign to fund a project to make spreadsheets safer. It will show how to write spreadsheets that are easier to read and less error-prone than when written in Excel. This is important because spreadsheet errors have cost some companies millions of pounds, even causing resignations and share-price crashes. An error in one spreadsheet, an economic model written in 2010 by Harvard economists Carmen Reinhart and Kenneth Rogoff, has even been blamed for tax rises and public-sector cuts. If he gets funding, Jocelyn will re-engineer this spreadsheet. He hopes that, because of its notoriety, this will catch public attention.</p>
<p>Reinhart and Rogoff&#8217;s spreadsheet was part of a paper on the association between debt and economic growth. They concluded that in countries where debt exceeds 90% of gross domestic product, growth is notably lower. But in spring 2013, University of Massachusetts student Thomas Herndon found they had omitted data when calculating an average. Because their paper&#8217;s conclusion supported governments&#8217; austerity programmes, much criticism followed. They even received hate email blaming them for tax rises and public-sector cuts.</p>
<p>Jocelyn said, &#8220;The error probably didn&#8217;t change the results much. But better software would have made the nature of the error clearer, as well as the economics calculations, thus averting ill-informed and hurtful media criticism. Indeed, it might have avoided the error altogether.&#8221;</p>
<p>Jocelyn&#8217;s project will use two ideas. One is &#8220;literate programming&#8221;. Normally, a programmer writes a program first, then adds comments explaining how it works. But in literate programming, the programmer becomes an essayist. He or she first writes the explanation, then inserts the calculations as if putting equations into a maths essay.  In ordinary spreadsheets, you&#8217;re lucky to get any documentation at all; in literate spreadsheets, documentation comes first.</p>
<p>The other idea is &#8220;modularity&#8221;. This means building spreadsheets from self-contained parts which can be developed, tested, and documented independently of one another. This gives the spreadsheet&#8217;s author less to think about, making mistakes less likely. It also makes it easier to replace parts that do have mistakes.</p>
<p>Jocelyn has embodied these ideas in a piece of software named Excelsior. He said, &#8220;&#8216;Excelsior&#8217; means &#8216;higher&#8217; in Latin, and &#8216;upwards!&#8217; in Longfellow&#8217;s poem. I think of it as meaning &#8216;upwards from Excel&#8217;. In fact, though, it&#8217;s the name of a wonderful Oxford café where I used to work on my ideas.&#8221;</p>
<p>Jocelyn also wants to show how advanced maths benefits computing. Some of his inspiration came from a paper he found on a friend&#8217;s desk in the Oxford University Department of Computer Science. Written by professor Joseph Goguen, this used a branch of maths called category theory to elucidate what it means for something to be part of a system, and how the behaviour of a system arises from the behaviours of its parts. Jocelyn said, &#8220;The ideas in the paper were extremely general, applying to many different areas. And when you think of modules as parts, they even apply to spreadsheets. This shows the value of abstraction.&#8221;
</p></blockquote>
<h3> For more </h3>
<p>For pictures or more information, please contact Jocelyn Ireson-Paine:</p>
<p>Postal: 23 Stratfield Road, Oxford, OX2 7BG, UK.<br />
Tel: 07768 534 091.<br />
Email: make-spreadsheets-safe@j-paine.org</p>
<p>Campaign Web site: <a href="http://igg.me/at/safe-spreadsheets" rel="nofollow">http://igg.me/at/safe-spreadsheets</a></p>
<p>Campaign blog: <a href="http://blog.make-spreadsheets-safe.co.uk/" rel="nofollow">http://blog.make-spreadsheets-safe.co.uk/</a></p>
<p>Jocelyn&#8217;s bio: <a href="http://www.j-paine.org/bio.html" rel="nofollow">http://www.j-paine.org/bio.html</a></p>
<p>Jocelyn&#8217;s personal website, for academic and general stuff: <a href="http://www.j-paine.org/" rel="nofollow">http://www.j-paine.org/</a></p>
<p>Background information: links to all topics mentioned can be found at the end of Paine&#8217;s campaign text at </p>
<p><a href="http://igg.me/at/safe-spreadsheets" rel="nofollow">http://igg.me/at/safe-spreadsheets</a></p>
<p>These include literate programming, modularity, the Reinhart-Rogoff spreadsheet, category theory, and many horror stories about the damage caused by spreadsheet errors.</p>
]]></html><thumbnail_url><![CDATA[https://i2.wp.com/images.indiegogo.com/medias/1209498/primary_pictures/full/20140121065844-before_modules_620_mss.png?fit=440%2C330]]></thumbnail_url><thumbnail_height><![CDATA[293]]></thumbnail_height><thumbnail_width><![CDATA[440]]></thumbnail_width></oembed>