Although you do not need to register to comment on posts
For those that have an interest in the code of the recently hacked emails and documents from the Hadley Centre, I have written a little program to automatically extract comments from the source code and text from “readme” text files*. This makes it a little easier to search through code comments.
You can download this file here.
What I discovered is this (documents\harris-tree\briffa_sep98_e.pro):
; PLOTS ‘ALL’ REGION MXD timeseries from age banded and from huge
; standardised datasets.
; Reads Harry’s regional timeseries and outputs the 1600-1992 por
; with missing values set appropriately. Uses mxd, and just the
; “all band” timeseries
;****** APPLIES A VERY ARTIFICIAL CORRECTION FOR DECLINE*********
yrloc=[1400,findgen(19)*5.+1904]
valadj=[0.,0.,0.,0.,0.,-0.1,-0.25,-0.3,0.,-0.1,0.3,0.8,1.2,1.7,2.5,2.6,2.6,$
2.6,2.6,2.6]*0.75 ; fudge factor
Later in the code:
;
; APPLY ARTIFICIAL CORRECTION
;
yearlyadj=interpol(valadj,yrloc,x)
densall=densall+yearlyadj
The fudge factor above does not seem to have a basis in any physical reality. I have done many computer models previously and I recognise that this is a classic example of the programmer trying to massage the data to their needs. What this code does is apply a rudimentary filter to the data. What effect this code actually has is unknown at the present. I am still analysing the code to try to get some sort of filter coefficients so that we can plot the frequency response of these filters to get a better understanding of what is actually going on here.
Watts Up With That has a list of source code comments describing the need to “avoid the decline”.
*Postnote about the program:

I stumbled across an interesting analysis of a new technological process, horizontal drilling and extraction of shale natural gas. Read the whole thing here but here is the key chart comparing horizontal vs vertical wells:
Production Volume
One thing that did strike me is that the horizontal peak production is well above the vertical well but has a shorter life span. Horizontal wells do have significant technical challenges (as seen in the article), but perhaps we can analyse the above chart to give us an idea of the benefits of horizontal drilling. Now to do this is a little tricky, as I do not have the original chart. However, using Photoshop, I was able to extract the area of the chart and the scale to get us total volume (note these are approximations only, but it gives us a “back of the envelope” view):
Judging from the chart the horizontal well extracts and extra 72% more oil in 10 months versus 100 months for vertical wells.
Production Value
Now to estimate the total value of the well let’s assume the price of natural gas is stable (at Henry Hub) at $8.00 per MCF:
Time Value of Money
This is where we get to use some basic financial models to determine the value of horizontal wells compared to vertical wells. The time value of money is the value of money figuring in a given amount of interest earned over a given amount of time. As an example, with an interest rate of 5% per annum, 100 dollars received today is equivalent of receiving 105 dollars in a year’s time.
Note that the horizontal well lifetime is 10 months compared to the vertical well lifetime of 100 months. Thus to be fair we need to compare the value of the horizontal well and the vertical well after 100 months. This is where the Time Value of Money comes in. Let’s pretend we bank the $48,776,000 that the horizontal well extracts, thus after 100 months (assuming 5% interest rates):
Extraction Costs
I do not know, in detail, the relative difference in extraction costs for these two methods. However, we now have the Horizontal to Vertical Well gain to use in our decision making. If the Horizontal to Vertical well cost is less than Horizontal to Vertical Well gain (+150% in our example), then it becomes economical to use the horizontal well method.

The Former Soviet Republic of Georgia is debating a law to enshrine economic liberty to its citizens and placing constitutional limits to government spending and taxation. This is interesting because we always hear politicians bleat about restraining spending but invariably once they are in a position of power, renege on their promises. By enshrining it in a constitutional form means that it is harder to back away from (although not impossible, if parliamentarians/citizens vote for change). From the Government of Georgia’s press release of the draft :
Fiscal Responsibility
- Budget expenditure capped at 30% of GDP (FY 2012)
- Budget deficit capped at 3% of GDP (FY 2012)
- Public debt capped at 60% of GDP (FY 2012)
- Extrabudgetary funds are limited
- Budget earmarks are limited
1. Budget expenditure capped at 30% of GDP (FY 2012): 30% budget expenditure cap is a little high (the US government spending is currently at 40% of GDP!). There is contention as to the optimum level of government expenditure, but below is a chart of reference by a Heritage Foundation report, that shows the optimum level is between 18 and 20% of GDP:
However, having a cap means that it can’t get any worse.
2. Budget deficit capped at 3% of GDP (FY 2012): deficits generally occur when there is a downturn in the economy. Having a cap of 3% of GDP means that politicians will be not be tempted to “bailout” and provide special deals to inefficient industries.
3. Public debt capped at 60% of GDP (FY 2012): This seems high, but Georgia is a newly democratised, fast growing economy in an military unstable region (eg. Russia’s recent invasion). It is understandable that public debt may be higher than OECD countries at this time.
4. Extrabudgetary funds are limited and 5. Budget earmarks are limited: Placing spending limits on special deals for a politicians constituents is a positive measure.
Empowering Citizens by Ensuring Choice in Social Programs
The Liberty Act advances the long-standing policy of delivering targeted social assistance by funding citizens through vouchers and cash benefits (healthcare coverage, education, poverty benefits, etc) rather than funding directly the institutions engaged in the provision of healthcare, education and other services. It provides for the freedom of choice of the beneficiaries to select the service providers
This is an good way to execute government spending programs, but a better way would be to let the free market provide these services. However, vouchers and tax/cash benefits is the least bad way of government providing such services. Citizens having the power to pick and choose their service provider, should mean that service providers must compete for their survival.
Returning the Power to Tax to the People
No new taxes or increase in the tax rates may be imposed other than following an affirmative vote in a nationwide referendum
This is an excellent idea. The public generally hate paying more tax. Politicians running on a campaign of increased taxes, has a very short lived political career.
Will be interesting to monitor its passage into law.
(via Cato)

I have always believed in the Insider Trading laws that protect the market from distortions arising from investors acting on non-public information. Recent articles by Don Boudreaux, discusses Insider Trading, and perhaps it isn’t as bad as I once thought.
One of the problems that was with enforcement of the law. Finding evidence that insider trading actually happened is incredibly difficult. Investors (including employees, directors etc.) buy and sell for many reasons: could it just be coincidence that they sold they shares just as a statement on profitability was about to be announced? Correlation does not prove causation and prosecutors would have to discover a “smoking gun” that proved that a trader acted on non-public information. But just because a law is hard to enforce doesn’t mean it is not worth having. We need another reason.
A company’s share price is a signal to the market about the value of that company’s assets. The goal for a market is for assets to be priced as accurately as possible. So how does a market determine an accurate value? This is from information, ideally disseminated widely, so that thousands of investors can make a judgement call of the value of the company. Information is king.
Let’s now jump to the way directors’ performance incentives. Directors are accountable to shareholders for the value of the company (ie. share price) that they have stewardship over. It is the shareholders interest (and thus the directors’ interest too) to increase the share price. Remember this as I will come back to this later.
So let’s say you are an employee, who gets hold of company information that shows that the company isn’t exactly in good shape. What should you do? Should you go public with that information – no, not if you want to hold onto your job. What you can do it start selling (or shorting) the stock. This would immediately send a signal to the market that the value is not quite what is claimed by the current share price – in other words, the share price falls. So insider trading or acting in your “self interest” actually helps the market determine the value of the company.
Now back to the directors of the company. With Enron, for example, they misled investors and “cooked” the books to artificially inflate the company. If employees/directors who knew this was going on and shorted the stock, this would have sent the share price down. Shareholders will be on the phone calling the CEO to politely enquire what is going on. Given that directors are directly compensated for the share price, they will have the incentive to rectify the problem, before it gets out of hand. While this may not prevent fraud, it will help price a company with greater accuracy, thus giving the market better information to base their investment decisions.
But isn’t this unfair? Why should an insider, in such a privileged position, profit from such internal information? I do not have a entirely cogent argument to this other than: “Life is not fair.” People from all walks of life have advantages over others. The question is, is acting on this insider information better for the market and society in general. If insider trading creates a better indication of a company’s health, then investors can with greater confidence allocate capital to company’s they believe will offer the greatest returns. This increases the productive use of our scarce resources and providing a maximal return to all.
(Thanks to the articles from Don Boudreaux)

Inspired by my sister in law’s induction into the Police Force, I have given myself a goal to get to level 10 on the Beep Test by Christmas 2009.
Here is my progress – updated automatically from Google Spreadsheets:
An MP3 version of the Beep Test can be found here.

Videos of my hobby rockets. They had much cooler music previously, but I had to change the backing track due to copyright

Great post from science writer Joanne Nova:
The world is considering a new financial market larger than any commodity, it’s “based on science”, but if you ask for evidence, you’re called names—“Denier”, and by our Prime Minister, no less. This is supposed to pass for reasoned debate?
In 6000 words Rudd uses ad hominem attacks, baseless allegations, argument from authority, mindless inflammatory rhetoric and quotes not a single piece of evidence that carbon drives our climate. He repeats quote after quote of sensible, ordinary points from his opponents as if it shows they are confused. Yet he can’t point out how any of them are wrong. It shows the depth of his own delusions—that he thinks merely questioning “the UN committee” is a flaw in itself.
It’s as if being a sceptic is a bad thing, yet the opposite of sceptical is gullible.
Rudd throws baseless innuendo when he claims vested interests are at work. The truth is the exact opposite. Exxon spent $23 million on sceptics, but the US government spent $79 billion on the climate industry. Big Government outspent big-oil 3000 to 1. Worse, carbon trading last year was $126 billion dollars. That’s for just one year. The real vested interests stand in the open like signposted black holes hidden in plain view by a legal disclaimer. The singularities at the centre of the climate change galaxy have names like Goldman Sachs, JP Morgan, ABN Amro, Deutche Bank, and HSBC.
The banks… want us to trade carbon.

Australians will have to pay more for books:
Under current laws, retailers are not allowed to import and sell copies of a book if the local copyright holder has published the book here within 30 days of its overseas release. The Productivity Commission argues this restriction should be removed.
Federal cabinet was split on the push to reform the laws, with Competition Minister Craig Emerson, who was effectively rolled by the backbench, confirming today the government would not act on the Productivity Commission recommendations.
I read earlier about local authors putting pressure the government not to lift the restrictions. I find this puzzling. Authors create content. They (generally) do not actually physically publish the books themselves. It doesn’t matter where their content gets printed. The retort of “what about local jobs?”, well yes certain local book manufacturing jobs may be lost, but on the flipside, if books are cheaper, demand increases, thus creating an incentive for local authors and writers to seek publication.

The first time I heard about Libertarianism was from a NewsRadio piece around 6 or 7 years ago. A speaker (I can’t recall his name) was addressing a group of college students about what it means to be a Libertarian. One passage in his talk stuck with me, which I will paraphrase:
Every start of the college year, thousands of college freshman, pack up their belongings and move out of their home for the first time. In many cases students have now decided, via their own free will, to move away from a comfortable home with home-cooked meals to a life near the poverty line. Why do they do this? It is the lure of freedom. The lure of making your own choices, making mistakes, living your life without your parents’ overview, to better yourself. It is freedom that makes students do this and, on the whole, become stronger, smarter and wiser about themselves and the world.
Here is another quote from a reader to a newspaper publisher explaining the reason why so many in Eastern Europe celebrated the end of communism:
My daughter’s hamster (a pet white mouse) has food, water, shelter and even medical care, and a cage full of fun curly tubes. The hamster responds by constantly trying to chew his way to freedom. I think we all understand what freedom is, and it is not a gilded cage.

They went with songs to the battle, they were young.
Straight of limb, true of eyes, steady and aglow.
They were staunch to the end against odds uncounted,
They fell with their faces to the foe.
They shall grow not old, as we that are left grow old:
Age shall not weary them, nor the years condemn.
At the going down of the sun and in the morning,
We will remember them.
Lest We Forget.
