Tuesday, September 28, 2010

comments on Azimuth wiki startup

Paul Krugman has some relevant things to say in his blog today (http://krugman.blogs.nytimes.com/2010/09/27/the-power-of-conventional-wisdom/):
When everyone – tout le monde, as Tom Wolfe used to put it, meaning a relative handful of people, but everyone who supposedly matters – is saying something, it takes a real effort to step outside and say, wait a minute, how do we know that? It’s especially hard if you spend most of your time hanging out with other Very Serious People; I know that I myself have a hard time saying that people I know personally are talking nonsense, even when they are. The VSP effect is one reason smart bloggers, both on economics and on politics, have generally been a better guide to what’s really happening in America than famous reporters: their distance, their lack of up close and personal insights, is actually an advantage.
Then lower down:
This is what you need to know: important people have no special monopoly on wisdom; and in times like these, when the usual rules of economics don’t apply, they’re often deeply foolish, because the power of conventional wisdom prevents them from talking sense about a deeply unconventional situation.
Hmm. On the other hand we need genuine subject-matter expertise, which Krugman provides on Economics. On the other hand it is very easy for experts to be too narrowly focussed. I keep asking questions on his blog along the lines of "If world-wide demand were raised by world-wide government action to the level necessary to get unemployment down, then how much oil production would the economy need, and can we produce that much oil at the moment?". My point is that (a) we need government stimulus directed to produce cheap energy to be an (imperfect) substitute for oil; and (b) we need to also soak up private demand (energy crisis bonds?) to prevent smashing (again) into the limit of oil production and crashing the economy. But am I right? As Krugman and others point out, things are very similar to Japan 15 years ago when there was no energy or other shortage. We are missing any way to think clearly about these things. Just different groups of people using lots of adjectives and doing lots of arm-waving (yes there are lots of numbers being thrown around, but their implications are far from clear).

Which brings us back to the question of who has a special monopoly on wisdom. I claim that the subject matter of mathematics is how to think clearly about problems. Yes mathematicians spend time thinking about unimportant problems that they just happen to be able to describe succinctly. And also trying to understand mathematics itself better. But the real problems that drive mathematics are in the real world. Inference is a universal aspect of clear thinking, and this has to involve Bayesian analysis and using maximum entropy to understand what we know before we look at the evidence and how the evidence modifies what we know [and I'm not saying these are easy tools to use]. But this doesn't get us very far in understanding real world economic and environmental problems. I'd be rash to comment but I feel that the place to look has to be flows in configuration space, and the principle of Maximum Entropy Production will be the key to understanding that.

Monday, September 27, 2010

Transport Fuel is an Energy Carrier

What’s the best fuel for interstellar travel? The answer is anti-matter. Insanely difficult and expensive to produce and manage. But the advantage is that you get 100% conversion of mass into energy as you burn it. All the costs take place in the stationary manufacturing plants. There is no shortage of stationary energy. What there is a shortage of is energy for transport.

A similar situation is energy for mobile devices (PDAs, laptops, mobile phones). Here we see that energy carriers can justify being expensive if they can be light and compact. These are exactly the requirements for energy carriers for transport.

At the moment the world depends on oil which combines the qualities of energy source and energy carrier. Once we get beyond that we can perceive a world where there is a lot of cheap energy from Nuclear Power (assuming that something turns up from all the thought that is going into manufacturing nuclear power plants that are of shippable size). For transport we will then convert that to an energy carrier. Given the massive investment a fair amount of that will be done by producing diesel, and that will mostly be done by converting inconvenient natural sources like Alberta tar sands and numerous sources of very heavy oil. Eventually, hopefully soonish, it will be possible to make fuel from thin air using algae and this will be competitive if the carbon price is high enough. However while all that is going on we’ll also be seeing a transition to other energy carriers for transport.

Friday, August 27, 2010

Conversation on Terry Tao's Buzz


Robert Smart - This is an aspect of Jevon's Paradox. We need to look at the total picture: tax on light bulbs (or electricity or carbon) means less tax on something else which provides money that will use energy when spent. Energy and production are closely linked (including embodied energy of imported goods). The core question is: Does the government want to reduce energy use or move energy use to a different source? If the latter, then renewables will not do the job. Another mathematician (Prof David MacKay) wrote a book (Sustainable Energy: Without the Hot Air -- free on web). I read early versions where Nuclear was classed as unsustainable, but in the final version it is one of the options and actually it is hard to get the sums to add up without it.
By the way, as I pointed out to John Baez, one of the problems we have in addressing all these questions is that there are no good models of the economy. A good model would have to understand the flows of some funny things like people and sentiment. It would have to deal with money in a sophisticated way since it is peculiar stuff (because governments can and do print it, and maybe unprint it).
Edward Mehrez - @Willie: ....deleted...

@Robert: Jevon's paradox is a great observation, much of the policies enacted by the government tend to have limited scope and thus only fix problems that arise in a partial equilibrium framework whereas Jevon's paradox extends the analysis to other markets in which the government participates through it's expenditures of its tax income and thus considers a more general equilibrium framework. However, whether or not the government will use the income to purchase or manufacture goods that expend as much, if not more, energy than the energy use that was taxed is unclear to me. In a perfect information setting where the government is perfectly informed as to the utilities of all generations and considers the welfare implications of the externalizes on all generations (perhaps discounting future generations to some extent), Jevon's paradox does not occur; but, the real world is a different story...
9:00 am
Robert Smart - Edward: Consider another law, Lieberg's Law of the Minimum. That says that the currency of life is whatever is in short supply. Now consider our situation. Before the Industrial Revolution energy was in short supply and wages were driven to the floor (leading to large wealth disparity). Since then the thing in short supply has been skill-weighted workers. So we've seen the rise of the middle class and energy prices have been driven to the floor. Now we are temporarily back to energy being in short supply. Don't believe me? Look at what happens to the price of oil whenever there is a hint of economic recovery. That means that Lieberg's law applies and money is energy. Suppose that the government gives everybody free haircuts. Not much energy in that right? But the barber has money to spend then, and everyone has more money because haircuts were free. And if you follow the cycles and the epicycles and the epiepicycles of that you'll get to energy. Well we'd have more confidence in that if we had a good model of the economy.
Does Terry mind us having a private conversation under his buzz? Apologies if so.
10:10 am

Thursday, August 26, 2010

Rethinking Peak Oil

The concerns about Peak Oil are often exaggerated. I've been guilty myself. The reason is that oil has two important characteristics, and it is easy to get confused.

The most immediate characteristic is as a source of energy. However once the price of oil gets above a certain level then we stop using oil just for energy. The first step in this process was when people stopped using oil for electric power generation, which happened 40 years ago. The next step, which is happening rapidly in North America, is that people stop using heating oil to heat their houses in winter. We are not running out of energy. Indeed it seems certain that we will get Nuclear Power working and producing cheap electricity well before there is any shortage of coal or natural gas. Claims that we might run out of Uranium are silly: it is precisely because there is so much cheap Uranium that we can't get more modern reactors up and running that would use much more of the nuclear fuel and leave much less residue.

The 2nd characteristic of oil is as an energy carrier. Liquid hydrocarbons are the ideal fuel for transport. And we have an enormous infrastructure using that. But the oil price has already disengaged from the price of energy. Natural gas is cheaper, electricity is cheaper if it doesn't come from silly renewable sources.

So Peak Oil folk talk about oil's declining EROEI: Energy Return on Energy Invested. We can see that EROEI is declining markedly. But this is now irrelevant. Oil is no longer being used mainly as an energy source. It is being used mainly as an energy transporter. The Peak Oil folk are quick to rubbish "The Hydrogen Economy". Hydrogen is not an energy source at all, and it is easy to see that it is a very silly energy transporter. Time to wake up and rethink oil as energy transport, and stop worrying about its EROEI.

Once we stop worrying about its EROEI, we can see that it doesn't matter if Canadian tar sands or very heavy oil requires a lot of energy to extract. We could even make oil out of thin air, using algae for example. The EROEI no longer matters.

This is not to say that we aren't going to have a nasty decade or two. At the end the successful countries will be the ones that make Nuclear Power work. Certainly India and China agree on that point.

Tuesday, August 10, 2010

Response to Google/Verizon fair Internet proposal

When there is congestion there has to be some algorithm to determine whose packets get dropped. There isn't any obvious "fair" way to do this. How about: Each source (/destination?) company gets equal throughput? That could be fair. The way to build a fair Internet that innovates is to have per packet (and/or byte) charging on each transit network, paid by either source or destination or some combination. Endpoints need to specify routes and need to ensure that intermediate networks have credit for packets matching the spec. For individuals and smaller organizations ISPs would handle this for customers. This is tough but doable. (Transit networks might charge based on sampled rather than all traffic). Update: To be more explicit. The idea of fairness they are pushing is that when you can't fit packets down the output link then packets are dropped at random. This strongly favours those (like google) with a big pipe leading to/from the point of contention. Another fairness scheme is to give all streams equal weight (assuming streams can be identified at all). This encourages people to break work into multiple streams, and this has been happening for a long time. To repeat: any scheme other than per packet charging will invite contrived workarounds and hit the small honest players.

Monday, August 2, 2010

Technology Summary for cheap electricity

LFTR is a research project. There are projects with funding that are also very promising for cheap safe nuclear energy. The ones I like are: (1) accelerator based nuclear power which generates neutrons externally (with a linear accelerator) and so doesn't need refined and bomb-useful nuclear fuel; and (2) fusion using a self-organizing tight plasma beam (like gamma ray bursts come from a chaotic situation leading to a self-organized beam). But existing nuclear power is cheap enough to do the job, and we should get on with that ASAP (and obviously lots of people are trying to make that happen and a different lot are resisting). Even if we have cheap electricity all our infrastructure is wrong for that, though with cheap enough energy you can make liquid fuel. We're in for a nasty decade at the best, however most expenditure in Western countries is postponeable, and the trick is to leverage that without causing mass unemployment.

Saturday, July 24, 2010

Solving a 30 Year Puzzle

I have been interested in programming languages for over 30 years. One of the first programming languages I was interested in was Algol 68. Indeed I have always been annoyed that all subsequent languages get some things wrong that Algol 68 got right. More on that later.

One thing Algol 68 gets wrong is that it conflates variables and pointers. For clarity I’ll use more modern notation, only consider variables, and restrict arrays to 1 dimension: Var<X> for the type of X variables and Vect<X> for the type of 0-based 1-dimensional arrays of X. I’ll also show explicitly where parameterless functions are called.

What I have always liked about Algol 68 (that all other languages get wrong) is that identifiers stand for some sort of constant. The core declaration syntax is just “type identifier = value”.
  • Int three = 3;
  • Var<Int> i = loc<Int>();
  • Vect<Int> one2three = (1,2,3);
loc<Int> returns a Var<Int> entity (a box you can put an Int into) from the stack. The distinction between Int and Var<Int> is crucial for thinking clearly about programming. Note that Vect<Int> is a constant array of Int. We also note that the type denotation on the left is redundant, since it is just the type of the expression on the right, and a modern language would leave that out.

Constant arrays are undoubtedly useful, but mostly people will want traditional arrays that can be updated in place. This is where Algol 68 makes a delicate decision. The obvious decision is that an updateable array is a Vect<Var<X>>. However that seemed to imply passing around lists of addresses of variables. This seemed undesirable. So instead (actually: as well) they made special rules for Var<Vect<X>>. So if we have:
  • Var<Vect<Int>> vvi = loc<Vect<Int>>(3) := (1,2,3);
The rule is that normal Algol 68 dereferencing doesn’t happen when you write, for example, vvi[2]. Instead some magic happens and vvi[2] becomes a Var<Int> that allows you to update vvi in place.

This is really sad. Without this then we can easily regard an array as a procedure, with subscripting and slicing being normal procedure calls. Then a lot of stuff could be moved out of the core language into the standard library. It is always good if stuff can be done in the standard library, because it raises the chance that authors of other libraries will be able to achieve a good result.

Indeed it would be nice to get Var out of the core language. Var itself interacts horribly with type inclusion/coercion, being neither covariant nor contravariant in the underlying type. So if every X is a Y, and every Y is a Z, and a procedure takes Var<Y> parameter then you can’t consistently pass either a Var<X> or a Var<Z> to the procedure. Also standard variable semantics are unsuitable for the modern world where concurrency is exploited at all scales. It seems that we need multiple Var-like types with different concurrency guarantees.

Getting back to the problem. First we need to understand a couple of things.

Representing values at run time

How many bits do you need to represent the number 3 in a computer? If you didn't get 0 then try this one. How many bits does it take to represent a number that might be 17 or 18? Now it is more obvious that the answer is 1 bit: 0 for 17 and 1 for 18 (or vice versa). Of course it might result in a shorter and/or faster program if the number is represented by 17 for 17 and 18 for 18, but that might not be the case.

Maybe you think that this only applies when the values are known at compile time. But JIT compilers are becoming the norm, so that distinction is disappearing. In an Algol 68 style language where every identifier stands for a constant, it may not be necessary to actually materialize the value at run time at all. Indeed that is the norm for Var values, since they are normally just a fixed offset from the frame pointer, and machines typically support that conveniently in the hardware.

Assembly Language had it right

Most of my early programming was in various assembly languages. Assembly language is just a convenience veneer on the machines underlying instruction set. In assembler identifiers are created in two ways:
  • A define statement gives an identifier a fixed meaning as a bit string.
  • A label statement gives an identifier a fixed meaning as a memory address of some code or of some reserved memory.

This was right. The first languages (Fortran, Algol) used identifiers for changing values. Algol 68 tried to get back on track, but slightly got it wrong. After that it was downhill all the way in the mainstream. On the side we had functional programming, but that doesn’t solve the problem of handling Var types correctly, it just tries to eliminate them.

The right answer

Putting it together we see that we can implement a normal updateable array in the natural way as a Vect<Var<X>>. It can normally be a sequence of consecutive Var<X> boxes. The compiler can remember this and doesn’t need to materialize the addresses of the Var<X> boxes. We still want to write:
  • Vect<Var<Int>> vvi = loc<Vect<Var<Int>>>(3) := (1,2,3);
but now we need to enhance the := assignment operator to do parallel assignment.

But what happens when we want to pass a Vect<Var<X>> as a parameter to a procedure? Mostly we want to send that as a start memory address and a length, and perhaps a stride. But we don’t want to abandon the option to send a fully general list of Var<X>, i.e. of pointers to Xs in memory. Both these representations are valid and don’t change the semantics of Vect<Var<X>>.

We need to embrace this. Each type can have multiple representations defined in terms of other more low level types. At the bottom things have to be defined in terms of the capabilities of the raw machine, or some abstract machine. So for a given procedure there are a finite number of implementations covering the possible input representations, and indeed the possible output representations. There is no reason for this to get out of control in the era of JIT compilation. It is hard to believe that duplicated implementations of procedures can work out worse than the technique commonly used for traits/interfaces of passing a pointer to the object and a pointer to a list of implemented methods.

Well anyway it will be interesting to investigate. My concept of a nice programming language seems within reach for the first time. The name will be COPL, for Closure Oriented Programming Language.

Tuesday, July 20, 2010

Negative numbers for Finance


Negative numbers for Finance

Negative numbers have been around for hundreds of years. It’s about time the world of finance got with this new development.

We are told that interest rates can’t go below zero in nominal terms. Why not? We’ve often had negative real interest rates, and that seems more significant. In periods of deflation, negative nominal interest rates might be positive in real terms anyway.

Consider the stock market. Currently people who expect inflation are buying stocks of companies with debt, expecting inflation to get rid of the debt. People who expect economic weakness and deflation are buying bonds at near 0 interest. Having this split market seems bad. It would be better if the people buying stocks also shorted bonds and people buying bonds were also shorting stocks. One way to do this would be to allow people to hold a negative amount of bonds. This would allow other people to hold more of positive amounts. Of course if you own a negative amount of a bond then every time there is a dividend then you have to pay that. This money then goes as normal dividend to the extra people with positive amounts of the bond. Negative holdings of stocks would be tricky because of the additional problems with voting and stock splits.

Monday, July 19, 2010

Unleashed submission

Necessary Inflation

[Note that this is a based on earlier posts. The last two paragraphs have some new stuff.]

Paul Krugman keeps telling us that we need to keep stimulating the economy in America and Europe. What he rarely says too loudly is that there is a limit to how much this can be done by borrowing. The only possible source of money for that stimulation is to print it. Of course it isn't literally printed: it is all just numbers in computers.

When GFC/I hit, then central banks did start printing money. They called it "Quantitative Easing". They used the printed money to buy bonds, and they promised that they would later unprint the money by selling the bonds. Printing money is criticized for causing inflation. Commentators seem to have no trouble saying this with a straight face when the reality in America and Europe is damaging deflation. We can certainly agree that unprinting money at this time will add to deflation.

So why is everyone so hysterical about inflation? We are usually pointed at Germany's bout of hyperinflation in the early 1920s as a lesson in the bad things that can happen. But hang on: After their burst of hyperinflation sorted out their economy, Germany got its act together, and only 15 years later they nearly conquered the whole of Europe. Meanwhile their victorious opponents who were also basket cases in the early 1920s didn't have inflation, and they were still basket cases 15 years later. So we need to understand what inflation does that is helpful. But first a foray into politics.

Listen to the debate between the stimulators, led by Paul Krugman, and the deficit-reducers, led by right-wing parties everywhere, with the left too nervous to criticize. You would think that this was a purely technical debate about how best to run the economy in the national interest. Maybe not. When governments act they produce winners and losers. This has the unfailing effect of bringing out the engines of disinformation on both sides. And inflation makes losers of the most powerful people on the planet: lenders and people with cash in the bank.

Inflation makes it easy for borrowers to pay back their loans. This means that borrowers come to fully own the real physical assets that were the collatoral for the loan. They then lavish care and attention on those assets and make them as productive as they can be. Consider on the other hand what happens when the economy is weak and there is also deflation. The borrowers know that they can never repay that loan. They squeeze as much value as they can out of the assets without the ability or incentive to properly maintain them. The employees who know how to operate the equipment leave. Eventually the lenders get the assets but the value of those assets is substantially reduced.

So who wins from deflation and loses from a bit of inflation? Hardly anyone. Except that this misses some important human traits. One is that we hate seeing other people get something for nothing, and there is no doubt that debtors get that with inflation. Also humans see gains and losses in relative terms: we like to do better than others, particularly our neighbors. That's why increasing standards of living don't increase happiness. So the lenders rightly see inflation as transferring real wealth from them to debtors.

How much inflation do we need? Our main experience since WWII is that economies run well with about 3% growth and 2% inflation. This means about 5% growth in the nominal economy (the size of the economy in dollars, without taking into account the decline in the value of the dollar). It seems likely that this applies whatever the growth rate. If the real growth rate is 10% then a 5% deflation rate won't cause any problem. On the other side of the ledger, if the real economy is declining at 2% for some reason, then you need 7% inflation to keep the wheels of commerce moving. (Note that we should be taking population change into account, so that the required growth in the nominal economy is probably 3% per head of population, assuming the added people are statistically similar to the existing population. But I'll ignore this subtlety.)

Why do we need this nominal growth? Without it then people who just sit on their money, and don't try to use it to generate wealth, do nearly as well as, or perhaps better than, the people who are trying to move the economy along.

To understand why money isn't, and can't be, a store of value, it is important to understand that you can't move wealth into the future through money. This seems like a strange statement when we do it every day. We put money in the money box and much later we get it out and spend it. But what really happens is this. When we put money in our money box we reduce the amount of money circulating. There is less money chasing the same amount of goods and services. So each bit of circulating money can get a bit more than it could before. There is a very small amount of deflation. When you get the money out of the money box to spend, then there is more money chasing the same amount of real stuff. So this reduces the value of all the other money circulating at that time. That's how the value gets back into the money that you kept in the money box. We need to understand how our economy might work if it is declining instead of growing, and to do that we need to think clearly about how money works. The important point here is that individuals can move wealth into the future through money, but society as a whole cannot. Society as a whole needs to move wealth into the future to prepare for difficult times, but it does this by storing non-perishable commodities and by building productive infrastructure.

If, as I and many others now believe, oil production rates have reached a plateau and will tend to decline from now on, then we need to change the fundamental infrastructure of society. This will lead to economic decline while we switch infrastructure. We need to understand how to run a declining economy to be as productive as possible. And we need to direct that production as much as possible to the infrastructure switch: electrification of transport, heating, farming and everything else, and the production of cheap electricity. Yes we need stimulus, but not random stimulus. Let's use the stimulus to make capital investments now, like electrified rail, that will protect us from the economic decline in the future.

To help us understand the issue, consider what Paul Krugman has recently written in his blog (http://krugman.blogs.nytimes.com/2010/07/17/more-on-deficit-limits/) "there’s also no question that right now, the proposition that the government can 'create wealth by printing money', which some other commenters call absurd, is the simple truth: deficit-financed government spending, paid for with either debt or newly created cash, will put resources that would otherwise be idle to work." By "right now" he means the American situation with high unemployment and zero interest rate. What he writes would be true in the situation that existed through most of the 20th Century where workers and working infrastructure were the only constraints and energy was cheap. But now we have infrastructure that is geared to oil use, and oil production can not be raised significantly at any affordable price. So when we stimulate we create activity that needs oil. This raises the price of oil, which negatively impacts other activities. So the Right's claim that government activity, particularly stimulus, steals from the real economy is correct in our oil-constrained world. However the Right's assumption that the free market will get us where we need to go will only be correct in the long run. We can't afford to be trying to electrify transport when oil production is actually declining, which will be happening in 10 years. Government needs to steal from the rest of the economy to force the transition to an electric economy as soon as possible. That's why stimulus should be used for energy use change and energy production infrastructure, and not for anything else.

Another recent blog post by Krugman (http://krugman.blogs.nytimes.com/2010/07/14/nobody-understands-the-liquidity-trap-wonkish/) explains why the America and Europe can't easily prevent deflation by just printing money to buy bonds. Governments need to print money and spend it. They could alternatively send it to the voters to try to restart Business As Usual, but that would be a mistake in our current oil production constrained situation.

Monday, July 5, 2010

Response to Pettis on Real Economics


Response to Pettis: http://mpettis.com/2010/07/what-do-banking-crises-have-to-do-with-consumption/.

Reading this excellent analysis one would hardly guess that money isn’t real wealth, and that the banks and other financial entities are merely facilitating the real economy. So what is going on in the real economy. Spending is a mix of people with the money (ex-savers) and people who intend to earn (who will be in debt after the spending). Also production is a mix of production for immediate consumption and creation of infrastructure for future production. The job of the financial system is to keep the balance between these things optimal. The situation today is that oil is getting harder, otherwise we wouldn’t be drilling at unmanageable depths. So we are perforce changing infrastructure (which started long ago when we stopped using oil for large electric power plants). So the optimal balance of activity needs to be skewed away from immediate consumption and towards creation of new infrastructure. It rather seems that our current financial system’s (unconscious) plan is to completely destroy the economy then rebuild it. Is this really necessary, or desirable?
 

Wednesday, June 30, 2010

Dear Julia (again)

The discussion of the GFC has 2 orthogonal threads. The main one we hear is between those favouring more stimulation (led by Paul Krugman) and those favouring deficit reduction and to hell with the consequences. The other thread is whether the problem is just about finance (how the money goes round in circles) or is there some real physical problem that is causing economic problems. If you don’t look at both these questions together correctly then there is no chance of getting the right answer.

There is a real physical problem. The world’s economy is heavily dependent on oil. High oil prices have been unable to raise production over the last 5 years. We have started looking for oil in insanely expensive places. You only have to watch the markets. Whenever there is growth then the price of oil goes up. Whenever the price of oil goes up then growth stalls.

So Julia, please wander down the corridor and ask the Treasurer to get you a report on what will happen if world oil production starts declining at 2% a year. Don’t ask whether that is possible: they’ll just tell you “If the price of eggs is high enough then roosters will lay”. You need to talk to non-economists to figure out if it is possible. However economists should be able to tell you the economic effect of such a decline. I hope so. Oil production has been closely coupled to growth for 60 years. The question we need to understand is how quickly we can decouple.

The other issue is that without more stimulation then we will drift, or more likely plunge, into the Third Depression (recently so named by Paul Krugman: the first 2 started in 1873 and 1930).
We cannot stimulate economies back to “Business as Usual”. Until we decouple from oil, BAU is over. Nor do we need to look for shovel-ready stimulation. Things are going to be bad for a long time and we need to do the right thing, not any thing.

And the right thing is clear. We need to put all possible effort into decoupling from oil. To a large extent that means changing the driving engine of the economy from oil to electricity. Prof David MacKay (Chief Scientific Advisor to Britain’s Ministry of Energy) has worked out that getting of oil and natural gas means we will need 3 times as much electricity production as we have now. We also have to electrify a huge amount of infrastructure, particularly transport.

I hope that soon after your election victory you tell the Australian people: “I have just received a report from the Treasurer on the expected impact of the end of the era of cheap oil. It makes sobering reading.” And then you tell us what the government is going to do about it. I advise you to be very skeptical if your advice suggests that renewables can do a large part of the job, and seek independent verification of that. Oil works because it is cheap (still). Electricity is not as convenient for many purposes and needs to be even cheaper to maintain our current level of prosperity.

Sunday, June 27, 2010

Dear Julia

Dear Julia

What a pleasure it is to have a secular leader who is never likely to be influenced by loyalty to a higher power than the Australian people.

Let me make a point on climate change. A warmer world will almost certainly be wetter rather than drier. Warmer oceans evaporate more. Models suggest that Australia might be drier south of a line from Sydney to Perth, but this is really irrelevant. Addressing climate change has to be done by all countries, not just those that lose out. The results of climate change remain "uncertain and possibly very serious", as Prof MacKay, the Chief Scientific Advisor to the British Ministry of Energy and Climate, always says. So we can't build the public consensus on the basis of the negative effect on Australia, because that just invites the countries that expect to gain (such as Russia and Canada) to refuse to cooperate. It also opens the way for those opposed to action to say "Global warming is the reason Lake Ayre has filled two years in a row and the outback is blooming" and then the whole thing can become a battle between Northern and Southern parts of Australia. It is important to focus on the effect on the world.

Unfortunately it is tough to adopt a consistent position on climate change. If you run the climate models under various scenarios you find that there is only one variable that makes much difference over 50 years, and that is: the amount of coal that gets left in the ground. However the coal industry is very important for Australia domestically and for exports. And the coal industry unions are very powerful. The sensible place for a tax on carbon is: as it comes out of the ground.

But let's be realistic. It will be politically nearly impossible to raise the price of electricity in Australia, despite our prosperity. Our energy importing friends in the Western world are going to have far worse political issues with this. Realistically the one way to stop coal consumption is to find a cheaper source of electricity. And indeed there is. The German government has imposed a super profits tax on the companies that can produce carbon-free electricity very cheaply: the Nuclear Power industry. I urge you to conduct a thorough impartial investigation into Australia's energy future. Even if it is politically impossible to introduce Nuclear Power now, can we please at least enhance our engineering education and our R&D capability in the area.

There is no more easy oil to find on the world, and soon there will only be hard oil. We will never run out of oil, but that hard to get oil will be expensive. That is going to keep depressing the world economy for many years until we move to alternatives. There are also significant energy security concerns with oil. The world needs to move to electricity for transport, heating and a whole lot more. Let me assure you that this will work very badly if the electricity isn't cheap and reliable. The world is being seriously misled about the effectiveness of renewable energy. If anybody talks about generating "capacity" then they are trying to mislead, because wind and solar only operate at a fraction of their capacity (apart from their impact on the countryside). The key number to determine and keep in mind is how much extra electricity we need if we are to use electricity for transport and everything else. The answer determined by Prof MacKay is that Britain will need 3 times as much electricity as it currently produces. Our figure will be lower but still very big.

So the world as a whole has to move to nuclear power, and it will, and it is doing so. Maybe Australia can survive on renewables. But would that be wise? Here is a point that all Australians can understand: Even if it is possible to build an economy on renewable energy, there are inherent limitations that will eventually put a cap on prosperity. Once that limit is reached the countries running on nuclear power will become ever stronger than us. But actually, we can see, this will happen long before we get anywhere near that limit.

Saturday, June 12, 2010

Understanding Inflation

Understanding Inflation

Paul Krugman keeps telling us that we need to keep stimulating the economy in America and Europe. What he rarely says too loudly is that there is a limit to how much this can be done by borrowing. The only possible source of money for that stimulation is to print it. [Of course it isn't literally printed: it is all just numbers in computers.]

When GFC/I hit, then banks did start printing money. They called it "Quantitative Easing". They used the printed money to buy bonds, and they promised that they would later unprint the money by selling the bonds. Printing money is criticized for causing inflation. Commentators seem to have no trouble saying this with a straight face when the reality in America and Europe is damaging deflation. We can certainly agree that unprinting money at this time will add to deflation.

So why is everyone so hysterical about inflation? We are usually pointed at Germany's bout of hyperinflation in the early 1920s as a lesson in the bad things that can happen. But hang on: After their burst of hyperinflation sorted out their economy, Germany got its act together, and only 15 years later they nearly conquered the whole of Europe. Meanwhile their victorious opponents who were also basket cases in the early 1920s didn't have inflation and they were still basket cases 15 years later. So we need to understand what inflation does that is helpful. But first a foray into politics.

Listen to the debate between the stimulators (led by Paul Krugman) and the deficit-reducers (led by right-wing parties everywhere, with the left too nervous to criticize). You would think that this was a purely technical debate about how best to run the economy in the national interest. Nothing could be further from the truth. When governments act they produce winners and losers. This has the unfailing effect of bringing out the engines of disinformation on both sides. And inflation makes losers of the most powerful people on the planet: lenders and people with cash in the bank.

Inflation makes it easy for borrowers to pay back their loans. This means that borrowers come to fully own the real physical assets that were the collatoral for the loan. They then lavish care and attention on those assets and make them as productive as they can be. Consider on the other hand what happens when the economy is weak and there is also deflation. The borrowers know that they can never repay that loan. They squeeze as much value as they can out of the assets without the ability or incentive to properly maintain them. The employees who know how to operate the equipment leave. Eventually the lenders get the assets but the value of those assets is substantially reduced.

So who wins from deflation and loses from a bit of inflation? Hardly anyone. Except that this misses some important human traits. One is that we hate seeing other people get something for nothing, and there is no doubt that debtors get that with inflation. Also humans see gains and losses in relative terms: we like to do better than others, particularly our neighbors. That's why increasing standards of living don't increase happiness. So the lenders rightly see inflation as transferring real wealth from them to debtors. And the lenders are the most powerful people on the planet.

So how much inflation do we need? Our main experience since WWII is that economies run well with about 3% growth and 2% inflation. This means about 5% growth in the nominal economy (the size of the economy in dollars, without taking into account the decline in the value of the dollar). It seems likely that this applies whatever the growth rate. If the real growth rate is 10% then a 5% deflation rate won't cause any problem. On the other side of the ledger, if the economy is declining at 2% for some reason, then you need 7% inflation to keep the wheels of commerce moving. [Note that we should be taking population change into account, so that the required growth in the nominal economy is probably 3% per head of population, assuming the added people are statistically similar to the existing population. But I'll ignore this subtlety.].

Why do we need this nominal growth? Without it then people who just sit on their money, and don't try to use it to generate wealth, do nearly as well as, or perhaps better than, the people who are trying to move the economy along.

Many people think the world would work better if money was a store of value as well as being a medium of exchange. That wouldn't work. Still there is merit in society storing valuable commodities to prepare for difficult times ahead. The government could sell certificates representing a basket of stored commodities. This would act as an additional sort of money that was a store of real world value. It would be similar to the gold standard back when you really could change your notes for gold, but it would not be based on a single commodity. Certificates would be cashable for money at any time for the current market value of the commodities. When the government has less certificates than stored commodities it would sell the commodities to restore balance.

The basket of commodities would be chosen (and adapted over time) to reflect the manufacturing and direct consumption needs of society. As such it would not be a distortion of production. Compare this with people that want to restore the gold standard. This would take monetary policy out of the hands of people trying to make the economy work, and place it back into the hands of miners, alchemists and conquistadors. 

Tuesday, April 20, 2010

MacKay video

MacKay video

Prof David MacKay has been touring America giving a tak based on his book "Sustainable Energy: without the hot air". A recording of his talk at UC Berkeley is available from the Internet Archive: http://www.archive.org/details/2010_04_08_David_MacKay. This is well worth watching. The lack of brightness in the projected slides is fixed fairly early in the talk.

Prof MacKay provides the numbers and leaves it to us to reach our own conclusions. Mine are: (1) Renewables will damage the environment and never work; (2) Even nuclear will not work without improving the current technology for nuclear power; (3) There's going to be a tough decade before necessary changes can counteract the decline in oil production that I expect to start soon.

Meanwhile the British election is likely to end with 3 parties and no majority for any one. The Lib-Dems will block nuclear power if they are included in a coalition. So the only way for Britain to advance sensibly will be a Labour-Conservative coalition. Will politicians put their own interests ahead of their bitter personal animosities? Don't count on it. This is where the Head of State has a legitimate role in looking for a coalition that makes sense. They don't have to listen to party leaders if those leaders don't command a majority in the House.

Monday, March 22, 2010

Money for Energy

Money for Energy

Here's my response to BNC on RAE report:

If we don't expand electricity to adequately cover declining use of fossil fuels, then we will have an energy disaster. To understand what that means you have to look at the key consequence of the Industrial revolution. When energy became cheap then (skill-weighted) labour became the scarce resource and wages rose to give our current prosperity, while energy prices were driven to the floor. Once there is a shortage of energy you go back to (or at least towards) the normal condition of mankind, where wages are driven to the floor because labour is not the scarce resource. Of course once labour costs go down then so do a lot of your costs of building and running energy production. So you get to a balance point, similar to a supply-demand balance point. We don't want to go there, and with nuclear power we don't need to. However it does mean that you can't be simplistic when talking about costs: they will be driven down if they have to be.

Sunday, March 21, 2010

Interglacial Crash

Interglacial Crash

In the last Interglacial the sea level rose steadily, and other indicators confirm that it kept getting warmer. Then at the end there was a relatively quick change. Sea level started falling at 1cm per year: which is a lot of ice building up somewhere. I've never heard of a climate simulation that demonstrated this crash. Well here's a picture of the current heat anomaly that I've nicked (the link to) from John Baez's Diary:


If the sea gets warm (and big) leading to lots of moisture [notwithstanding the silly predictions of warming leading to drought] then you get a lot of snow. Then maybe at some point the CO2 negative feedback starts to kick in [and they must exist: to claim otherwise is to claim that the previously stable CO2 level was an unstable equilibrium], CO2 drops but the water remains warm. Then maybe the sun goes quiet or there are a few big volcanoes in a row ["year without a summer"]. The snow persists and reflects. All seems too easy...

Wednesday, March 17, 2010

Direct impact of CO2 on flora

Direct impact of CO2 on flora?

Plants survive with difficulty in low rainfall areas. Without thinking much one would assume that the plants that are there would do better if there was a bit more rainfall. Nothing could be further from the truth. The plants that are there are adapted to the harsh conditions. If the conditions got wetter they would be out-competed by plants suited to the new conditions.

Which suggests the question: What is the direct impact of rising CO2 on plant communities? Presumably those best specialized for the normal 280ppm are finding those genes less useful, and are being outcompeted by plants which have other advantages but which had been held back by less effective adaptation to the previously prevailing low levels of CO2.

We do know one effect of rising CO2. Plants open pores to let in CO2, which lets out moisture. As CO2 levels rise plants can open their pores less, and thus survive in drier conditions than previously.

Sunday, March 14, 2010

Are the facts neutral?

Are the facts neutral?

Responding to John Baez's latest, March 13, Diary entry (March 2010 diary):

It would be nice if the facts as presented were neutral and spoke for themselves. We would then have quite enough trouble understanding the implications of the facts and making correct, or at least reasonable, policy responses. The trouble is that once the facts have impact on public policy then we find lots of people who want to influence public policy for good and bad reasons. The engines of disinformation start running flat out on both sides of the debate. When people start looking for facts to support an argument, rather than to discover the truth, then they quickly do so.

Democracy needs an extra arm. It needs an open, vigorous, well-funded investigation of the facts on matters that relate to important public policy. It needs to evaluate the people giving evidence as well as the evidence itself, so that those who have made fraudulent or disingenuous claims about the facts are not allowed to waste everyone's time. It needs to have the powers of a Royal Commission (not sure what the American equivalent is), to acquire evidence and interrogate witnesses, and particularly to overcome the tendency of the sides in a debate to ignore each other's points. Most particularly the lead investigators need to be good mathematicians. They also need to have a good track record of being able to change their mind. They should be people whose prior recorded opinions on public policy have been measured rather than strident, and once they get the job they should keep those opinions to themselves.

To help the public understand why we need mathematical expertise just to understand the facts, it would be nice if Mathematicians would stop arguing about what Mathematics is about, and get behind this simple definition:
The subject matter of Mathematics is: how to think clearly about problems.
This would also encourage everyone to get as much maths as they can. It would also act as a good guide to educators about what should be taught [In particular Mathematics does not have facts the way other subjects do, though one does have to learn its language].


Saturday, March 13, 2010

On the small difference between big n...

On the small difference between big numbers

A comment on BraveNewClimate:
Well if we have trouble talking sensibly about the small difference between two very big numbers then we’re not alone. We get it all the time in discussion of company and national accounts. If you say that revenue doubled then that means a lot, but may not tell you anything about net profit. On the other hand it is meaningless to say “profit doubled” since profit is often close to zero in a bad year (indeed often negative in a bad year: and then doubling would have no meaning that ordinary folk would understand). [A change from 10% profit to 20% profit is best seen as a change from 110 to 120, rather than a doubling.]
This came from a Hansen comment that was (apparently) meant to mean that ice loss from Antarctica had doubled in 5 years. Even if Antartic Ice is constant over a longer term it is likely to go up and down. Get close to the beginning of a down period and get a small number. Then further into the period get a bigger number. Then make an announcement that sounds like we're in an exponential explosion.

Tuesday, February 23, 2010

Krugman on Oil

Krugman on Oil

Krugman now says that resource constraints (particularly oil) will be a problem when we get a recovery. So I commented:
If oil resource constraint is a problem: how will that play out in the financial market? If it looks exactly the same as the GFC then how come all the economists maintain so strongly that the GFC was not about the oil resource constraint? All the semi-fraudulent financial activity moves the money around, but what brings the problem to light is when there is less total real wealth. How do we handle that? [Part of the answer is that the inflation rate has to be about 5% higher than the decline rate. This is also true when the decline rate is negative!]
Well this is another area where we need an open, vigorous, well-funded investigation of the facts. I commented on this in response to an Unleashed by a lawyer commenting on AGW. Here's my comment:
What we need to take out of this schmozzle is this: Any time you have facts dictating public policy, with winners and losers, then the engines of disinformation will run flat out on BOTH sides. It is crucial for public confidence that there be an open, vigorous, well-funded investigation of the facts led by people with mathematical skills who have no axe to grind. This is a core thing we need to add to the democratic process in the 21st century. And let us, with due respect to Ms Tranter, keep the lawyers out of it. [Why mathematical skills? The subject matter of mathematics is: thinking clearly about problems. We need more of it.]

Natural is orthogonal to Good

Natural is orthogonal to Good

The wonderful "Australian Story" program (referenced here: http://www.abc.net.au/news/stories/2010/02/22/2826160.htm) emphasized that natural toxins are just as bad as unnatural ones. Maybe worse since they are intended to be toxic (plants are toxic to avoid being eaten). The Tassie government produced the traditional "natural so OK" response of the modern city dweller. Time's up on that. We expect the government to address natural problems as well as unnatural ones. Indeed we need to understand natural climate change as well as human induced climate change, since we can less afford a change to cold and dry than we can to warm and wet.

I declined to watch "4 Corners" since the subject matter sounded too depressing. But let us note that abuse of children is one of the evil parts of human nature. It is not true that human nature is innately good, with all evil being a malfunction. There is natural human evil, and it needs to be addressed by human means: Community-based resistance in various forms (such as education and punishment).

Monday, February 22, 2010

GP changing clientele not significant

GP's changing clientele not significant

A Tasmanian GP saw an increase in cancer patients and investigated. The Tas government declared that there wasn't a significant increase in cancer in her area. What's going on?

Certainly it is a good thing that she is investigating this and other correlated things (like oyster problems in the bay). However it is easy to imagine why a GP might see a changing client base.

When they first get to the town they have a short waiting list or no waiting list. This attracts people who have an immediate minor problem. As they become better known, particularly if they are good and are a native speaker of English, then they attract more customers. This makes the waiting list longer. People who want a quick fix or prescription go to the imported doctor with the shorter waiting list. People with more complex problems that have developed over time and not immediately perceived as urgent, will put up with the longer waiting list to see the doctor with a good commend of English and/or other perceived virtues. So that GP will naturally see an increasing number of cancer patients.

Thursday, February 18, 2010

Facts impacting Policy need vigorous ...

Facts impacting Policy need vigorous review

Doesn't anybody else feel that the process linking scientific, engineering and technical investigation to the policy making process is bad. I mean really bad. Yes, scientists are often people who are not intrinsically suited to participating directly in the public debate. Still when the stakes are huge, as they are, then it is time to hold investigations where people are pushed outside their comfort zone. We need a vigorous, open, well-funded investigation into the facts, led by the best minds with a clear understanding of mathematics, and complete with substantial investigative powers. We need to identify people who are trying to deliberately mislead on both sides and get them out of the discussion. We need to make sure that the two sides address each others key points, even if they are not comfortable doing so. And in the end there is going to be uncertainty and we need to make decisions in that context, not invent fake certainty linked to various people's egos that becomes an obstacle to incorporating changing facts.

How big are the stakes? In many ways PO and AGW point the same way: electrification, nuclear [if only we could get on with those]. However surviving PO without massive depopulation may require using all the cheap energy we've got left. So the two issues need to be addressed together.

[Another TOD comment]


What money isn't good for

What money isn't good for

Money does two things well: It allows us to exchange goods efficiently, and to compare the price of goods at one point in time. However it is used for other things that it does less well, particularly in times of economic turbulence. Specifically:

You can't move wealth into the future through money.

As a corollary, you can't effectively compare prices across time. This universal assumption of money as a store of wealth and as a way of talking about future prices is one of the "thinking" things that gets us into trouble.
[Of course we all do move wealth into the future through money. When you put $1000 in a suitcase under the bed then you reduce the money supply which makes everybody else's dollars worth more. When you take it out of the suitcase to spend it later then you get your wealth back by making everybody elses dollars worth less. This process works fine on short time frames relative to the economic volatility.]

To take the EROEI idea to its logical conclusion, perhaps the trick is to create an imaginary effective-energy "currency" for talking about future costs.


Building groups that work

Building groups that work

In tribes of 100-150 everyone knows everyone. We have adaptations designed to allow us to form larger groups and identify group members in other ways: We are the group that dresses like this, wears our hair like that, can pronounce "th", believe X [where X is complex and something that no reasonable person could believe], understand arcane aspects of our native language/dialect, hold particular facial expressions, follow mysterious cultural behavior... So the trick is to be in the correct self-identifying group: the one where members will actually help each other, and be able to do so. And if you're in an attempt to build such groups (like Transition Towns) then I'd recommend working on all those human ways of making a group self-identifying. Of course this will make other people/groups hate you, so you need to keep a lot of it secret. Oops, this is starting to sound like a nightmare. No wonder we want growth to keep going, even though we haven't really enjoyed it and we know it's an environmental disaster.

[This was a comment in response to people trying to set up groups to prepare for Peak Oil]

In Praise of Speculation

In Praise of Speculation

Markets work best when there are well informed speculators. There is a current move by various guilty or ignorant parties to demonize speculation in the oil market. So I thought I'd list some of the benefits that we should get from substantive expert speculation.

If the future price of oil at time T will be X, then speculators should ensure that the price of oil now is at least X minus the cost of storing the oil till T minus the interest on that money till T. This brings forward the rise in the price. This is good because:

  • Alternatives become cost effective sooner, encouraging innovation and investment in time. Without that one is trying to bring new technology infrastructure on line without adequate lead time.
  • The higher price reduces consumption, effectively saving the finite resource for the most important uses.
  • The higher price allows investment in more marginal oil sources.

The owner's of the oil are in a privileged position as potential speculators, since they can store oil at minimum cost by not pumping it. So it is nicely ironic that the Saudis have said they'll do exactly that, just as they are leading a push against speculation. In fact speculation is minimal so far, as shown by the lack of any stored reserves.

So let's encourage speculation. We should also demand transparency so that the speculation can be well informed.

On a slightly related note: Peak oil for the world is very different for peak oil for a particular country, since world peak oil affects the price much more. We also observe that when there is a sudden 1% drop in supply then the price has to go up enough to cause sufficient instant demand destruction. However that price rise will be too much, much too much, for a long term drop of 1% in demand. So, for example, at the current price of oil the reduction in economic activity will be too much, so the price of oil will fall back for a while. The reduction in supply is like a land slip under water, and the resulting wave is literally like a tsunami. So with supply falling and incipient demand still increasing and waves of demand destruction rippling, its going to be hard to see the signal for the noise. Lots of transparency and lots of well informed speculation will smooth this stuff out.

[This was a comment on The Oil Drum in mid 2008. It was right about the rise being followed by a fall, then a rise. However that was the end of the oscillation with prices stuck around $80].


Thursday, February 11, 2010

Cold land, Warm ocean

Cold land, Warm ocean

It's warm but there's lots of snow. According to "Watt's up with that" the land surrounding the Arctic ocean is cold, but the oceans are warm. Warm ocean means lots of precipitation falling as snow in winter. Now it is interesting to look at how the last Interglacial ended. The temperature rose (sea level fell) steadily and faster than during the current Interglacial. Then it crashed with the sea level falling at 1cm a year: That's a lot of snow and ice build up.
Maybe at the end of an Interglacial the ocean is warm, but then the Sun gets weaker, and/or lots of junk gets thrown into the atmosphere by volcanoes. So the land gets cold. Lots of snow. Not enough Summer melt. Bingo.

Wednesday, February 3, 2010

Coal bad Glass good

Coal bad Glass good

I urge everyone to read Gregor Macdonald on “Coal and Treasuries” at http://www.theoildrum.com/node/6175. CO2 policy is about exactly one thing: leaving coal in the ground. Everything else is fluff. Nuclear is the only thing that can replace it. Australians need to understand this.

And here is a potential game changer, spray on very thin glass: Spray on Liquid Glass to Make Things Easier to clean and antimicrobial for Years and Can Increase Crop Yields. Need to be sure that fragments of it aren't more of a health hazard than the normal SiO2 dust we all live with. Just the seed protection alone seems likely to help us get through the peak oil food crisis.


Tuesday, February 2, 2010

What's coming up

What's coming up

The New Year resolution to do a post a day is starting to fade. Let me try to inspire myself with some things I can write about.

I'm working on my Bridge bidding system, Smart Acol. I can post some stuff on that and the rationale.

I have my programming language, COPL (Closure Oriented Programming Language), and there is much to write about that.

I have an open source software project called CallHome. It is the simplest way to add low performance real time stuff to the web. I have an implementation in C. Will redo and improve using the new language Go. I need to write an Internet Draft. Plenty to write about here.

I have my Smart Workflow project which I'm trying to write using Google App Engine. I need to get back to that, and write about it. It needs real time.

My main obsession, that stops me getting anything done, is understanding the Energy Crisis and the consequent (in my opinion) financial crisis. Ideally this will all gel together into a book: Energy Crisis Economics. I need to be more organized.

I also have in mind a book "Respect your Genes, but stand up to them", subtitle "the secret of happiness". I can do more posts based on the ideas in that book.

I have a big interest in health. Maybe if I wrote more about that then I'd keep to my diet and exercise program better. I mostly favour balance, rather than looking for good things to do and bad things to avoid. I do believe that vitamin D is important, but also that sunshine has significant benefits in addition to vitamin D production.

Advice for mums of boys

Advice for mums of boys

If you handle human life easily then you don't need to analyse. Still it is helpful for mums of boys to understand.

The first thing to understand about male behaviour is that we are optimized for primitive societies in which being a male is quite dangerous. In extreme examples of such societies, the sex ratio is 2:1, with the missing males victims of male-male violence.

The second thing is that girls don't evaluate boys in isolation. They evaluate them in the context of how they interact with other males. And boys are conscious of this. We concentrate on competing and cooperating with other boys. But we put our head up to see if the girls are noticing. Of course we compete and cooperate even when the girls aren't there, but too much of that is going to be unsatisfying.

Bridge was ideal for me. You have a partner you have to find, establish a relationship with, then cooperate with. There are opponents to compete against, and the sexes are mixed in varying degrees. It was nice that I was good at it, but it is more important to be able to cope with the competitive environment than to win.