Saturday, November 16, 2013

The key2key project

After retiring I mostly pursued my interests in peak oil and in computer network security. While at CSIRO I had published an Internet Draft on "Basic Internet Security Model". It is still online at http://tools.ietf.org/html/draft-smart-sec-model-00, though it expired long ago. Later I tried to build on that to create a secure Internet, in what I called the Key2key Project.
After the recent security issues on the Internet (brought to light by Snowden) I thought I should look into reviving it. However it doesn't seem like something where I am likely to make any headway, given the cool/hostile reaction to my `99 Internet Draft years ago. Anyway, for the record, here is the last, rather dated and very incomplete, key2key overview doc:

The Key2key Project

The end2end interest group created the ideas on scalability that led to the Internet. The aim of the key2key project is to extend this philosophical framework into the security area to create a secure overlay network.
A trusted system is one that can harm the truster. It may actually do harm if it fails in some way, or if the trust that was placed in it was misplaced.
Security is when you know which systems you trust, and explicitly agree to place that trust. We don't consider whether that is because the trusted systems are actually believed to be trustworthy, or just that the alternatives are believed to be worse. Food security is when you get to balance the risk that the food is poison against the risk of starvation. Food insecurity is when you are force fed.
In the Internet today, security is not end-to-end. That is why Internet users are trusting intermediate hardware and software systems that they don't know exist.
This document covers the following areas:
  • Modelling Internet entities and sub-entities. This is a necessary step to understanding the problem.
  • Modelling cryptographic security technology: hashes, encryption, verification, signatures.
  • Modelling communication between entities. This will make it possible to define when a protocol is secure, and define a framework for building secure protocols. These secure protocols will be necessary for building our secure overlay network.
  • Modelling the common and crucial situation when one entity executes software "on behalf of" another (OBO).
  • A device for human signatures (DHS), and the implications of its limitations.
  • Delegating specified limited powers to sub-entities.
  • Securely booting a PC and setting it up as a sub-entity capable of representing the user on the network, and referring matters beyond its delegation up to the DHS.
  • A protocol for communication by "on behalf of" execution. It is intended to show eventually, but not in this document, that this is the only reasonable approach to this problem.
  • A simplistic e-commerce application will illustrate in detail how these components work together to make a secure system.

Entities and sub-entities

Distributed computing is very different when the computers involved are under the control of a single entity, compared with the case where the computers are controlled by separate entities. For the former the important issue is performance. The key2key project is all about the latter, communication between separate entities. In this case the main issue is security [footnote: However key2key can have good performance. Though the main control communication in key2key is often forced to follow potentially low performance routes, bulk data transfer is direct].
Legal entities (people and organizations) have sub-entities, such as employees and computer systems, which are not legal entities themselves, but can be given a delegation to act on behalf of the legal entity. Legal entities are not connected directly to the network. So in order to perform actions on the Internet they need to have some way to give a delegation to a computer system to act on their behalf. This can be quite informal, and the legal implications of the mechanism chosen will rarely be tested in court. In this document we will discuss well defined mechanisms which are appropriate as the basis for more serious interaction between legal entities via the network.
We want to get the communication between separate legal entities via the network onto a sound logical footing. It is important to understand that an individual acting with delegation as an employee is, for our purposes, entirely different from that individual acting as themselves. The fact that these two (sub)entities share the same brain gives rise to serious security issues. However this problem predates computing and networking. We aren't going to attempt to solve it, though it is useful to consider how well traditional legal approaches carry over into the network world.

Cryptographic technology

The key2key project relies on certain capabilities that are usually provided by cryptographic technologies, but can sometimes be provided in a simpler way by a trusted third party:
  • Secure hash (cryptographic checksum). This is a small fixed sized number, typically 256 bits, which uniquely determines some larger bit string. In key2key: end points are represented by the secure hash of a public key; immutable files are represented by the secure hash of the contents. The required characteristic is that there is vanishing probability that two bit strings will give the same hash; and it is computationally infeasible, if given a bit string to find a different bit string that hashes to the same result. This capability could be provided by a trusted 3rd party that remembered bit strings and returned a sequence number.
  • Encryption in key2key applications is used for access control of information that has to go via a 3rd party. Of course this often includes providers of network services. It is commonly the case that, if data is not completely public domain, it is easier to encrypt it than evaluate whether the 3rd parties who will see it are entitled to. Note that the important public keys in key2key are not used for encryption, only for signature verification. Encryption public keys are always separate and usually temporary.
  • The bulk of communication between key2key end points is verified by a temporary agreed shared key (whether or not the communication is encrypted). This means that each party knows the communication came from the other but doesn't allow them to prove that to a 3rd party.
  • Digital signing and verification is only used during the setup phase of communication, and for communications that the recipient wants to be able to prove to a 3rd party that they received. If clever algorithms based on sophisticated mathematics were to cease to be secure then a system using shared keys via a trusted third party would also be possible. Important long term public keys can use combined algorithms, and/or use multiple keys where the matching private keys are not held in one place.
Communication in key2key is between end-points identified by the hash of a public key. The first thing sent between the parties is the public key itself, which must hash to the identifying hash to be accepted. After that other cryptographic services and keys can be agreed between the end points.

Logical communication model

Each end-point is under the control of a legal entity (or in rare cases multiple entities, in some and-or tree structure [footnote: In the 'and' case all communication goes to each of the entities, and anything coming from it is approved by all. In the 'or' case communication goes to an unknown one of the entities and anything coming from it is approved by one of them.]). Initially the end points don't, by default, know what entity controls the other end. Often the initiating party will use a temporary public key just for that connection, and there may never be any call for the initiator to reveal who they are.
Two machines acting under common control might just move data back and forth according to some distributed computing algorithm that the owner has chosen to use. Communication between separate legal entities can only take place if it is meaningful. The agreed protocol must be able to be interpreted as a sequence of assertions and requests, in order for it to be possible to check if the protocol securely protects the interests of each party.
If end point 1 (EP1) sends the assertion "the sky is blue", then the receiving end can only infer and record the fact that "EP1 asserts that the sky is blue". Each end point keeps a store of beliefs and of business logic. When a request comes in, then the end point will effectively try to construct a proof that the request should be honoured.
End points can also send "out of band" hints to the other end. The correctness or otherwise of hints doesn't affect the trust in the main communication. One sort of hint will be about how to contact 3rd party keys mentioned in the communication. This might save a lookup in a directory, or it might actually be the only way for the recipient to get that information. Another sort of hint will be proposed proofs for the recipient. This is desirable because constructing proofs is inherently undecidable and the receiver of the request might be unwilling to invest the resources, and it might be more fair for the requester to do the work. This sort of hint might look something like this in English translation "Assuming your belief store holds 'trust bank public key about assertions of the form ...' and '...' then follow these steps ...".
Communication is between sub (or subsub) entities. Before events with real world significance (such as purchases) can take place, assertions about delegation may need to be exchanged, with a chain leading up to a key that is provably the key of the legal entity. However exchanges of real world significance can be anonymous on one or both sides, as in the real world when we go into a shop and pay cash.

"On Behalf Of" execution

We are familiar with the situation where we visit a web site like google or facebook or a poker server or an airline reservation site, and we perform actions which are carried out on our behalf on a computer that is not under our control. We might have an explicit or implicit legal contract, which might constrain how honestly or correctly the actions are carried out. But in general we have to assume that the requests we make will be handled in a way that suits the owner, not us, as we saw in the case of the cheating owner of a poker service, and in the case (some time ago) of a search for "linux" on MSN-India's search service, which returned linuxsucks.com as the first hit.
Other OBO cases we have a stronger expectation that the owner of the environment will honestly carry out the user's requests: when the owner provides a web hosting service, or a unix login service, or a container for isolated execution, or a virtual machine that the user seems to completely control.
Still in all these cases it hardly seems wise for the user of the service to transfer, to that environment, credentials which have power over significant amounts of money or other valuable property. Rather than trying to work out what credentials can be transferred and when, the key2key project takes an alternative approach: credentials are never transferred, but access to external resources is still possible from the OBO execution in exactly the circumstances where this is secure. More on this later.

Device for Human Signatures

We want to make it possible for real world legal entities to interact via the network. What is needed is a way to link people to the network in a way that makes legal sense. The proposed solution will work for an individual representing themself, or for an employee with some delegated ability to act for the employer. We don't consider the possibility of combining these in a single physical device.
The solution is a Device for Human Signature, DHS. The DHS requirements mean that it must be a separate device, not part of a more complex device. The proposed device has the following characteristics:
  • It has biometric authentication which is unchangeably linked to the owner.
  • It has a private key that is generated when first activated. Only the public key ever leaves the device.
  • It has a black and white screen and a mechanism for scrolling the image left-right and up-down.
  • It has a way that the owner can agree to sign what is displayed on the screen. This is such that it can't be done accidentally, nor can it be done without simultaneous biometric authentication.
  • There is another mechanism to clear the current image without signing it.
  • The device is connected to the world by wireless mechanisms and/or cable. If a cable is plugged in then it only uses that, which is desirable for signing things that have privacy restrictions. Either way it displays any offered image and, if signed, it sends the signature back on the reverse route.
The user signs the extended black and white image. She is not able to sign it till she has used the scroll control to view all of it.
The image will always be created, by a defined and public process, from information in a computer friendly format (such as XML). For example one of the known processes will be "English". The information in computer format, and the well know translation process will be sent with the signature of the text when it is used for internal computer purposes. For legal purposes only the actual visible text applies.
Any computer software can "understand" the signed text by using the conversion process on the computer friendly variant and checking that the resultant image is the one that the user signed. E.g. the user might sign "pay $1000 from my account 061234567 to Example Company (ABN 1234) account 0698765". What they actually sign is an array of black and white dots which has the appearance of this sentence. However the receiving computer (presumably the bank) doesn't have to understand the visual dots because such signed documents always come with an accompanying computer friendly structure which converts to the image in a well defined mechanical way. The signed document comes with an accompanying solution to the problem of determining its meaning.
It is important to sign a picture rather than "text", because it removes questions about how the text was rendered, and as we see it works just as well.
The signing device is only intended to be used for important things, or to create a temporary delegation to some more practical computer system which will sign as needed to act on the network within that delegation.

Delegating to sub-entities

For organizations delegating to employees or commercial network servers this is particularly important, and might be quite complicated, specifying what assertions and requests the delegate can make on behalf of the organization and what requests it will honour. This may not be practical for a person delegating to a computer system using the DHS: all the rules would have to be translated into English and read.
The form of delegation which will be initially implemented in key2key is a system of well known named delegation types. In particular the user will probably give his desktop system the "Standard Anonymous Desktop" delegation, which will enable the user to work anonymously on the network as we ordinarily do most of the time. When things come up so that the desktop system needs extra delegation, that will come up as a specific delegation request on the user's DHS.

Architecture of key2key end-point computers

The DHS doesn't remove the need for end-point systems, particularly desktop systems, to be secure. The standard techniques of managed code and sandboxing are crucial to allow applications to run without the need for them to be trusted with the crown jewels: the ability to use the private key to sign assertions and requests.
The traditional file system model of files that can be updated in place is inappropriate for the needs of key2key. Instead files are read only and identified by their hash, so that they are to a large extent self-verifying. The traditional unix updateable file is actually a form of simple database, and is handled in that way with appropriate security mechanisms shared with other network accessible databases.
This will also cover the secure execution of code that is only partly trusted, and of code that is executed on behalf of an external entity.

Desktop system: booting and running

To do anything useful, a user needs to book a desktop system. That system needs to be physically secure, and it should be booted from reliable read only media to place it in a predictable state. That system needs to generate a private and public key pair to allow it to operate on the network using key2key mechanisms.
When that is all done, the next problem is to use the DHS to associate the desktop with the user and appropriate delegation. The desktop will generate an appropriate message, sometimes incorporating user input to adjust the delegation (though normally additional delegation is added later). That message will appear on the desktop's screen, and be transferred to the DHS by wire or wireless mechanism. The DHS will offer that to the user to sign. It will be in the user's own language and will say something like: "I have securely booted on trusted hardware, and the key signature of that system is 123456789ABCEDEF. It is delegated to act for me on all services not requiring specific delegation.". This signed result will be returned to the desktop system and sent as an assertion wherever needed.

OBO execution model

Suppose that user X is running a shell on a remote computer owned and managed by Y, and a program tries to access a resource on a system owned by Z that X is allowed to access. The traditional approach is that X does something which reveal the credentials for accessing Z in a way that Y could easily take advantage of. X might type a password into the interactive session on Y, or might have transferred some cryptographic credentials, such as a a kerberos TGT or a private key to Y. This is wrong.
The key2key approach is that the request from Y's system to Z's system must use Y's credentials. Y will normally tell Z that this is on behalf of X, but this will only be used by Z to reduce its willingness to agree to the request. If Z won't execute the request using Y's credentials then Y can seek an alternative to make that request, and the natural and default alternative is to go back up the chain leading to the OBO execution. So in this simple case, Y will ask X to send the request to Z with X's credentials. And, of course, X is well placed to know if this is a request that naturally springs from the OBO execution on Y. If the execution of the request involves a bulk file transfer than that will go between Y and Z directly, and not be forced to go via X.

Illustrative e-commerce application

Payment by Reservation (PbR) is the key2key native e-commerce application. It associates accounts with keys. It handles need-to-know revelation of information about the end points: i.e. typically only when there is a conflict.

update on Peak Oil

I summarized my attitudes to Peak Oil in an (anonymous) contribution to the Azimuth discussion a couple of years ago, reproduced below. It seems right [except the dubious comment on shale oil was way off]. World economic growth continues to be constrained by the fact that we can only slowly change infrastructure. Fossil fuel use continues to grow as we go to gas and back to coal for many applications.
  1. The world peak is different to the peaks we’ve seen in individual countries and fields, because the price can now rise. This should mean that the tail is more stretched out as otherwise uneconomic fields come into play (like tar sands, very heavy oil, coal liquefaction, abandoned fields, and maybe even oil shales). Also it means that there is a lot of pressure to get off oil as much as possible. Even the Saudis don’t want to burn oil for electricity. Electric cars are coming for some uses. Nuclear powered commercial shipping may be economic. Etc. It will be many decades before we run out of oil for high value applications. However it seems that many of these changes are not starting soon enough and things will be bad for a while.
  2. On energy density: The fuel of choice for interstellar flight is anti-matter. Lots of energy goes into making the powerful lightweight batteries we use in portable stuff like mobile phones and laptops. The message is that, in a normal way, there is good value in using lots of stationary energy to produce much smaller amounts of dense energy for transportation or transportable applications. This fact has been suppressed by the availability of oil which was cheap and already dense. Now that we are looking into this problem we may remember Sheik Yamani’s (past Saudi Oil minister) quote “The stone age didn’t end because they ran out of stones”.
  3. Peak Oil is related to claims of Peak Fossil fuel. However it seems that exploration and development of gas and coal have been suppressed by the availability of the more convenient liquid form. The claims wrt coal are based on traditional extraction methods, but deeply buried coal can be accessed by underground coal gasification.
  4. A (possibly temporary) oil peak is happening now, with oil production unable to expand in response to price increases. It would be nice if we could get the economists who favour all possible effort to expand the economy (like Paul Krugman from NY Times) to respond to the question: “That would result in greater oil consumption. What if the world can’t pump that much more oil at the moment?”. It would also be nice if we could admit that growth is going to be limited for a while and have a rational discussion about how society should handle that fairly. E.g. an answer might be to get people working but not spending, with future financial security, by forcing them to take some of their income as “Energy Crisis Bonds” which will retain their value as a fraction of GDP, but not be spendable until enough of the massive infrastructure changes have been implemented..

Saturday, October 26, 2013

cheap energy created the anthropocene

At http://math.ucr.edu/home/baez/balsillie/ John Baez has slides from his recent talks on the characterization of climate change and what we will do about it. They are clearly thought out and presented, as always. Climate change is just one aspect of the anthropocene: the new era created by human activity. One of the todo actions is to leave fossil fuels in the ground.

The elephant in the room of this story is that our best chance to leave fossil fuels in the ground is to find cheaper energy and the only realistic chance of that lies in developing nuclear power. The trouble is that the anthropocene has arisen from cheap energy. It lets us destroy habitats, destroy fish stocks, and much more. Cheaper energy will make this worse, even if it fixes the CO2 problem. The answer will lie in extending the 19th/20th century idea of a national park, to create an international park which is a substantial subset of the biosphere. The other side of the coin is the human conquest of space. There are many lifeless worlds out there, just waiting for us to make them more interesting.

Friday, October 25, 2013

scientific errors in medicine

The obesity-health saga is an interesting example of scientific error. There is a clear correlation between being overweight and having various health problems, particularly Type 2 diabetes. So nobody looked more closely at that. Everyone is advised to lose weight.

But then they did look more closely and low and behold we find: For most people, carrying extra weight is actually protective. At any given level of fitness it is better to have more weight.

So why is carrying weight associated with disease? The answer is that most people who are fit are relatively slim because it is hard to keep the weight on if you get fit. So being overweight is correlated with lack of fitness, and that is the problem. If you can be fit and keep the weight, with a high proportion of muscle, then that is ideal.

Medical science seems particularly prone to jump to conclusions based on correlation alone, but it is an easy mistake in many disciplines. Medical science is pretty good at other sorts of errors, including pure guesswork, like "eating fat makes you fat" (most people lose weight on a high fat low carb diet); or eating cholesterol will increase your cholesterol levels leading to heart disease.

Saturday, September 15, 2012

recent developments in Climate Change

We see that Russia and Canada, the big beneficiaries of global warming, are inclined to drag their feet. Note that this is a case where voters don't want to hear the politicians say "We plan to be bad". Instead they want to hear the politicians denying global warming. This is lying for the people, not lying to the people.

A recent scientific study showed how, hundreds of millions of years ago, there was a land-locked ocean over the North Pole. That lead to a massive decline in atmospheric CO2. That is nothing like the current situation, but it does show how feedbacks of warming can lead to reducing CO2 levels. Such negative feedbacks are likely to overshoot. For example if a warm ice-free Arctic does lead to something that reduces CO2 levels then it is likely to continue to do so for much longer than we would wish.

Another reason why I think global warming could lead to cooling is the history of recent inter-glacials. They have been warmer than this one, but have not lead to runaway warming when the Arctic melts. Instead each one spikes and then crashes:


Here's my graph of the global warming position:

We know there is a nice stable ice age waiting for us on the left. Many reckon that if we keep pushing up we will go over a bump down into a very warm climate to the right. I reckon that if we suddenly stop pushing that ball it might roll down and roll over the edge to the left. However this will only happen if we find an energy source cheaper than coal.

I also reckon that it is simplistic to imagine this 2d picture. Suppose we imagine this 2d graph embedded in a bigger 3d graph. We might role over the top to the right, but then get caught in a channel that leads back around to that waiting ice age.

In summary I want to see more science before we do any geo-engineering: including attempts to get CO2 levels all the way back to the "natural" 280ppm.

Sunday, June 24, 2012

Investigating facts relevant to public policy

We need a 4th arm of government, which has substantial investigative powers and financial resources to vigorously, impartially and openly investigate the facts which are relevant to correct decision making in the other arms of government. I wish I could create that organization and put mathbabe in charge of it.

Only slightly more realistically: As the newspaper business dies, we are left without a mechanism for funding private investigative activities. I have this idea to create a market for investigations. People will propose or support investigations with offers of approximate financial commitment. Journalists, scientists, data analysts, others, will try to put together teams to put more concrete proposals that the informal proposers and others can fund. Willingness to fund would be very much based on the reputations of the investigators. So I envisage that young people would get together to do free or cheap investigations to establish their reputation, as open source programmers do. To set up such an investigation market, it would be valuable to have some high profile people getting it started: including a scientist, a journalist and a data analyst.

Sunday, May 13, 2012

The Wombat hasn't landed

The Wombat Programming Language

Programming languages have been annoying me for over 35 years. Still it's not so easy to get them right. I've got a fair way with the design of the Wombat Programming Language, but I can't get the interface-like part of it (Behaviour) working well. So rather than wait for perfection I thought I'd put it out there and see if anyone is interested in helping me with it.

I know my design would be better if I understood more of: Scalaz; Typeclassopedia; HoTT; and lots of other stuff. But maybe the people who do would like to comment (at least to the extent of recommending what to learn and where).

The "Wombat Summary and Rationale" document is at https://docs.google.com/document/d/1MXH4y75gViHDTldrAhXVMVUOXZJhwh3EwjXgn6k5Ncs/edit, with comments enabled. Or you can comment here. Or in my Google+ post. Or post an issue at http://wombatlang.googlecode.com.

Thursday, March 22, 2012

STV Magic

Australia's democratic system is superior for two important reasons: Single Transferable Vote; and compulsory voting. The latter is more important: voting is a duty not a right; and if voting is not compulsory then somehow the people in power manage to make it easier for some to vote and harder for others. However this little idea is about STV.
[For those that don't know: In STV people number the candidates. The candidate with the lowest total of votes is eliminated in each round and all of the people who voted for the eliminated candidate have their votes transferred to their next choice. Repeat. Finally there are 2 candidates and the one with more votes wins and it is a nice feature that he has, at that point, got more than 50% of the votes. There are subtleties, but one thing is sure: it's better than first past the post. I was shocked, disappointed and annoyed (not to mention disgusted) when the British people rejected STV in a recent referendum.]
Well here's an idea. First we run our STV election to get the first winner (we just go till someone has >50% of the votes). Then we eliminate all the candidates of the same sex as that winner, and we recount the election until all the votes have been distributed to the last two candidates (except that we never eliminate our initial winner in any round [if that could happen?]). So we end up with two candidates and all the votes allocated to one or the other. Then we send them both off to parliament: except that when they vote in parliament they vote that total number of votes they got: it is no longer just one person one vote in the House of parliament.
This has a couple of nice effects. Naturally we get an equal number of the sexes in parliament. Another thing is that it makes gerrymanders useless.
Assume there are two big parties. Each will have two candidates, one of each sex. At the end of counting you get one candidate from each party elected after the minor parties and independents are eliminated. But the total number of votes each party gets will represent their total votes across the whole country, irrespective of where the boundaries are drawn. Indeed one of the advantages is that it reduces the need for the electoral commissioner to draw artificial boundaries to equalize the electorates.

Update 2014-07-26: I know what I mean, but it needs an example. Suppose there are two main parties in Byzantium: Red and Green. In an election in a seat with 19,999 voters we distribute preferences. The Red lady wins with 10,000 votes. At this point we eliminate all other ladies in the election and we start again with the Red lady and all the guys. We just keep distributing in the normal STV way. Any votes for the eliminated ladies go automatically to their next preference up. We don't stop when one has 10,000 votes, we keep going till all the votes are allocated to the final 2 candidates. Typically we'll get something like: The Red lady has 11,000 votes and the Green guy has 8,999 votes. Then they go off to Byzantium parliament and when they vote there the Red lady votes her 11,000 votes, and the Green guy votes his 8,999 votes.

Update to the update: The key to this is determining the second winner. After that the votes get allocated to each according to their relative position on everyone's vote. People who know STV will not be surprised that the winner's excess should be counted in determining the second winner. Maybe after a quota of 1/3 rather than 1/2. Mostly it won't make any difference in who comes second, but if you don't do it after 1/3, then strategic voting becomes an issue. Don't ask.


Monday, March 12, 2012

Mysterious arguments about AGW

There are two interacting climate change hypotheses. The well known one (AGW) is that human induced increases in atmospheric CO2 are increasingly making it warmer. The other is that when the sun is weak it allows more cosmic rays to get to lower levels of the atmosphere, increasing cloud cover and making it cooler. There is good reason to think we are moving into this weak sun period.

The two sides of the AGW debate have a clear interest in the 2nd question. For people that want something done about CO2, it is important to let people know that if we enter a period where natural climate variability runs against AGW then we must not relax, because soon they'll be pushing in the same direction and by then it will be too late to reduce CO2. On the other side of the AGW debate, those who don't want anything done about CO2 should keep quiet about natural climate change so that they can claim that the temperature falling (or not rising) disproves AGW.

But what we see is the reverse. AGW proponents like to deny that there is any such thing as natural climate change. Meanwhile those on the other side seem equally keen to argue that there is natural climate change.

Go figure.

Saturday, September 17, 2011

The paradox of the economic impact of rising production costs

In my previous post I claimed that the impact of Peak Oil arose from the change of production cost of oil, rather than the change in price. I still think that is correct. However the detail of how it was expressed was wrong.
In the case where the price rises with no production change, there is just a transfer of money and consumption from buyers to sellers with no net economic change. But then I said that when there is a change of production cost then the extra cost of production disappears out of the economy. That is clearly wrong. Money flows to the producers, but instead of flowing on to consumer purchases it flows on to production expenses, like oil rigs and oil workers. But in so far as it flows to more oil workers it is no different to when it flowed to the owners of the oil resevoir. Similarly when it flows to the workers and owners making oil rigs.
Either way the money flows through the oil production process. So what difference does it make to the economy whether it flows through to owner consumption, or it flows through to production costs?
Obviously I think it does make a big difference, though not in the simplistic terms of the previous post. My intuition is that it flows through with more resistance when it flows through to production costs instead of owner consumption.
So my challenge to economic theorists is to find a way of talking about the economics of resource, and particularly energy, production and use, that correctly explains the impact of rising production costs on the economy. If it is only comprehensible to mathematicians that will be better than nothing, but bonus marks will be awarded if it is comprehensible to politicians and voters (and me).


Friday, August 19, 2011

How Peak Oil destroys the world economy

[update: Note that the following post (http://grampsgrumps.blogspot.com.au/2011/09/in-my-previous-post-i-claimed-that.html) has a correction to the logic of this one.]

Having expected Peak Oil to seriously impact the world economy, I was not surprised when high oil prices were followed closely by economic problems in 2008. Surely now the world would wake up. But no, the economic problems were attributed to malfunctions in the the financial system. And we Peak Oil believers struggled to put a coherent case.
It is tempting to focus on the high price, but consider what happened when the price went rapidly from $130/barrel to $140/barrel in 2008. Obviously this made consumers, and importing nations, poorer. But it made producers richer by an exactly equal amount, and what can they do with that windfall but spend it, or recycle it by lending it to others to spend? So the net effect on the total world economy is zero, and that is what economists perceive.
Even though the price is now around $100/barrel, as it was in 2008, still most oil comes from old fields that used to profitably produce at $20/barrel, and still could. However all of these big cheap oilfields are past their peak. They produce less every year. Oil production continues to struggle along on a plateau of constant production. But this is made up of increasingly less of the cheap oil, and increasingly more of the expensive oil from newer fields.
Now imagine what happens when we lose a barrel of oil that cost $10 to produce, and replace it with a barrel that costs $60 to produce. That is $50 worth of productive effort that was available for consumption or building new infrastructure. Now that $50 of productive effort is used and lost.
The world consumes about 30 billion barrels per year. The depletion rate on existing oil wells is about 5%. As a rough guess, perhaps 1.5 billion barrels/year (5% of 30 billion) is being replaced by much more expensive barrels each year. In that case, multiplying by $50, it amounts to $75 billion/year lost to the world economy. Perhaps Kjell Aleklett and his team can come up with the right number. Whatever it is it is certainly big enough to cause major disruption to our growth-oriented economy.
So far the economy has managed to grow by: switching to energy alternatives; using petrol more efficiently; and turning to less energy intensive ways of working and playing. This is going to get harder as we come off the plateau and start the actual descent.



Wednesday, April 20, 2011

Demographics

Chatham House has an article on Demographics which set me thinking. How important is the ageing population for its effect on the environment (e.g. global warming)? Old people consume but don't produce. However governments see full employment as a key goal. When an old person dies that reduces consumption. But the matching fall in production doesn't happen. Either automatic processes or government action restores production (making everyone else richer).

Of course this will be irrelevant in many possible future circumstances where production is limited by energy not labour shortages. In that case population at any age is irrelevant to pollution.

Monday, April 18, 2011

global warming impacts viticulture: irrelevant


Viticulture! I can't believe the way people who want the world to stop burning fossil fuel think it is some sort of minor matter, so that it is worth mentioning all sorts of trivia like the impact on tourism here or increased disease there. If we stopped burning fossil and nuclear fuel tomorrow (as the lunatic fringe wants) then the carrying capacity of the world would be much less than a billion people. At least they'd all be living close to nature: too close for comfort.

IF we find something cheaper than coal for energy (our only chance to stop burning coal) then just the cost of changing infrastructure will be huge and mostly hit the poor. How much are people prepared to pay to save the world? A major Australian mining union has said "not one job". America has no interest in growing food instead of transport fuel despite the visible impact of rising food prices on world stability. Just the minor rise in energy costs, from initial (ill-advised) renewable subsidies and requirements, has annoyed the Australian electorate enough that the latest polls suggest the government will be wiped out in the next election, if they make it that far.

The world needs cheap energy. It can only come from Nuclear. Nuclear design is a nightmare since elements keep changing and having different chemical and physical characteristics. And clearly we need to prove safety, since "just trust us" isn't going to work. The way to prove safety is to make lots of identical small reactors so that we can test them in extreme conditions [on a remote island]. And this needs to be done in a very open way. "OK, here's our simulation of what will happen when we do this. Now let's actually do it, and everyone can watch live on the Internet".

sorry about the rant.

[response to Azimuth project discussion entry]

Monday, March 21, 2011

Make maths useful: response to Baez blog post

For a decade and more my wife complained about word processing people, and I kept telling her: you'll never get documents created as you want in a timely fashion unless you do it yourself. Programming is a bit like that too: and spreadsheet programming shows that people want to program if the environment is accessible enough. It is nice when sophisticated mathematics makes a difference. It is nice when real mathematicians can cooperate with people in other fields and use semi-sophisticated mathematics to help them. Yet I feel that the real need is for everybody to understand unsophisticated mathematics enough so that when they have a problem amenable to mathematical treatment they at least recognise that and look for help. The Internet seems a wonderful tool for educating people about mathematics, but I feel there won't be much progress until the educational authorities stop regarding mathematics as an optional skill. At any rate one of the issues seems to be that mathematicians love to generalize, but the implications of the general theorems don't percolate down. I remember an memoir by a famous mathematician (perhaps Arnold) complaining about papers published on how to solve particular types of PDE, when they were just special cases of a "well known" general theorem. Unless mathematicians are also involved in the real world, or at least the less unreal world, then they won't know how their understanding can make the difference it should.
If plants keep their leaf pores smaller, that means that particular plant types can grow in drier conditions. At the edge (if rainfall stays the same) that means more tree covered areas which is a negative feedback on CO2. In other places I presume it means that you eventually get different trees (basically because trees which are adapted to relatively dry conditions lose out to trees that don't have those adaptations where those adaptations aren't necessary). So its tricky. And isn't this typical of so much relevant stuff. You see a summary of a result and you wonder: "did they allow for this or that?". It would be interesting to develop an oracle (like Watson?) which could absorb a lot of information and answer questions like that.

Saturday, February 26, 2011

Democracy and the war on drugs

The Arab world wants democracy. It seems like an unstoppable force. This is perhaps unrealistic, because the end of cheap oil is making everything expensive and democratic regimes are also going to feel that. But at least the people have the safety valve of the ballot. This would work better if terms were shorter, like Australia’s 3 years and America’s 2 (for the House of Reps).
But many countries are going backwards because of the corrupting influence of drug money: most noticeably Afghanistan and Mexico. It is essential to take the profit out of selling drugs, and there is a natural way to do that. Drug pushers start by providing drugs cheaply, then make their profit from those subsequently addicted. Making it illegal for addicts to get there drugs is highly counterproductive. Here’s the alternative:
  • Continue to ban the supply and sharing of drugs, with severe penalties particularly to the supplier, but also to anyone receiving or possessing;
  • Allow addicts to register;
  • Registered addicts can receive supply, for their own use only, from a government channel;
  • Supply is guaranteed, not requiring immediate payment, so addicts are not forced into crime;
  • For more dangerous drugs, users might be required to consume under supervision.
This will remove the financial incentive for drug crime. Rich addicts will still get their drugs illegally, but the big market for poor addicts will be largely eliminated. The cost saving will be immense:
  • End the war on drugs;
  • Remove the malign influence of drug barons on politics in many places;
  • Getting into contact with addicts in this way will enable cures in many more cases.

Friday, January 14, 2011

thinking about interconnected information

Natural language is designed to be a good way to represent internal mental states. And internal mental states are where we exploit the brain's amazing capabilities to do parallel search for interconnections. So natural language has to be at the core of communication of clear thought. However when you get a real lot of natural language, like a large text book, I wonder how easy it is to get that into a good internal brain structure.
Anyway this set me wondering whether one might try to copy the brains internal structures a bit. The idea is to have nodes that are connected in multiple ways and amenable to computer processing. The text is unambiguous (as far as possible) because the ontology and parsing is specified. Nodes can link to other nodes in various ways, including:
  • (parameterized) Bayesian network specifying the probability of a node given another (when meaningful); 
  • software module interaction for nodes with associated software; 
  • just links; 
  • ... 
The hope would be that you could put in a statement (like the economics one given partially above) and it would search around, find other relevant stuff, find data which might bear on the matter, code that might let you do relevant calculations on the data, and other useful stuff. This would be linked to information relevant to the individual. Individuals can specify how much they understand nodes, how much they agree with them. If you want to understand something new then it would lead you through other stuff you need to understand first. And it could do lots of other useful things to help you understand the subject...

Monday, December 27, 2010

Australian Cricket mismanaged

Australia is never going to be as successful at sport as we used to be. The rest of the world is more interested and with more opportunity. Meanwhile our interests have switched to more sedentary activities. Still the current state of Australian Cricket (hitting an amazing low on the first day of the MCG test) seems to be significantly caused by mismanagement.

Ricky Ponting showed why he is such a bad and unsuccessful captain at the start of the England innings. He held a huddle to gee everyone up. Richie Benaud was immediately critical. It was essential that the bowlers stayed calm and put the ball in the right spot. Instead they tried too hard and immediately sprayed the ball around. We can well imagine that this has been a feature of Ponting's captaincy. It is also bad for the batsmen. We need them to bat a long time, and you can't do that if you are trying too hard. We need batsmen who can still focus while staying calm.

Some of the coaching staff do know what they're doing, as we saw when they took Mitchell Johnson out for one test and sorted him out for Perth. Still we need to restore calmness in the coaching department. Let's start by making Mark Taylor head coach.

The tendency of players to play on and on has destroyed the natural rhythm of the team making it too hard to bring in young players. This also involves players playing with injuries. That might work in a 1 day game, but you can't bowl long spells or bat for a long time with a crook back. Shane Warne showed what a break from the game can achieve. I'd like to see Ponting take a big break. He might bat on for many years after that.

I fancy Cameron White for Australian captain, why else would Warwick Armstrong be reincarnated? However there are a few things against it, including the fact that he is probably not good enough to make the team. I think Shane Watson could be good, though he is another one who is not as calm as he seems.

Sunday, December 19, 2010

Mathematics is "Thinking clearly about problems"

Robert Krulwich's NPR blog has comment on a wonderful Vi Hart video: http://www.npr.org/blogs/krulwich/2010/12/16/132050207/this-is-for-the-i-hate-math-crowd-not-after-this-you-won-t. However it (and Vi Hart) are misguided about what is needed to improve maths education. We don't need to provide more stimulation for people for whom maths is (or might be) a recreational/cultural activity. What we need to do is make teacher and student appreciate the importance of mathematics for problem solving in every field. This is my comment on their blog:
The subject matter of Mathematics is "Thinking clearly about problems" (not counting most problems related to understanding and relating to human behaviour and culture). Teachers can't teach maths well without having this focus. It isn't (mostly, and for most people) a cultural activity like music. Math tends to invent a terse language to help express itself, but teaching the language without clearly relating it to problem solving is what makes math seem weird and pointless to many students.
If we could base mathematics education on this definition then we would see many immediate benefits:
  • Teachers and students would know why they were learning mathematics;
  • A problem based approach would help everyone see the difference between the important and the merely conventional aspects of the language and methods of mathematics;
  • It would be clear why mathematics should be compulsory, and why efficacy should be a key requirement for higher education courses (outside the Humanities);
  • It would integrate mathematics with computer education to the benefit of both.
To make the definition comprehensible it is important to tell teachers and students how mathematics supports understanding data of all sorts (using probability and statistics); how the real world (and hence engineering) is only clearly understood using mathematics; how computer programming is becoming a mathematical science instead of a black art.

Update:

In John Baez's blog I appended this to a comment I made:
My New Year’s resolution is to have another go to sell the idea that “The subject matter of Mathematics is how to think clearly about problems (mostly excluding human interaction issues like culture)”. Teachers and students are hopelessly confused by an education system that treats mathematics as a collection of facts (about Platonic entities) which is sometimes useful in the real world. My definition will give Mathematics its rightful place in the core of a modern education. I’m not going to make any progress until I can find a real Mathematician to endorse the idea.
And I got an endorsement from John Baez himself. Initially his comment was (as wordpress emailed it to me): "I hereby endorse your idea. Please make progress.". But now the reply reads:
I hereby endorse your idea. 
When I go back to UC Riverside in the fall of 2012 and start teaching math again, I’m going to teach it in a new way, informed by everything we’ve been discussing on this blog. I think the kids will enjoy it. I never taught math as a collection of ‘facts’, and that’s probably why the students liked my classes, but now I’m more keen on real-world examples that illustrate the big problems facing our civilization, rather than examples of the sort that pure mathematicians (like my former self) most enjoy. 
Sometime before that, I plan to write a paper with the mild-mannered title “How Mathematicians Can Save the Planet”. I’ll put drafts here, and I’d appreciate your comments.
I'll continue this subject area in a new post soon.

Sunday, December 12, 2010

critique of "Ecotechnic Dictatorship"

Difficult times always bring out the desire for dictatorship. Plato kick started it all with his vision of the philosopher king. But it never works. Instead when democracy fails then the looniest sociopath takes over. He has no concern for the future or for the environment. His obsession is always his own grip on power.

Anatoly Karlin's writing displays a nostalgia for dictatorship that infects a large minority of folk from/in the former Communist countries. As such he is more looking to justify his position than make an honest case. This is particularly clear in his treatment of nuclear power. He first says, correctly, that it is the only hope for continuing our current high level of energy use. Surely this should induce him to thoroughly investigate and understand that issue. But no. Instead he quickly dismisses it with quick comments about Uranium running out which don't reflect any honest attempt to understand that issue. [Uranium is a very common mineral, as we see from the amount that has got into the ocean. Thorium is more common and has more energy (though not soluble so not in the ocean).]

Peak Oil doesn't mean "running out of oil". It does mean rationing by price and the huge costs of changing infrastructure to an electricity based one. Difficult times are guaranteed and the push to dictatorship will be on from well meaning folk as well as the sociopaths who will win any successes in that direction. The price of liberty is eternal vigilance. Democratic institutions need to be improved not dismantled. People who genuinely want to save the world need to get involved with politics not acquiesce or support the destruction of politics.

Monday, December 6, 2010

on the dangers of giving humans lots of energy

Atomic Insights Blog: A video that Tim "The Tool Man" Taylor would love. More power! What can 1 pound of uranium per day do? has a video of a Russian nuclear powered ice breaker going to the North Pole through the ice at high speed. It makes Rod Adams think of all the benefits of nuclear power. It makes me think that humans with lots of energy will do lots of mindless (and sometimes deliberate) destructive things.

Before the Industrial Revolution we felt powerless in the face of nature. Actually some of our worst human environmental disasters had already happened: the destruction of the megafauna outside Africa; deforestation of Britain and many other places. With fossil fuels the potential for destruction became so great that we invented the National Park. With nuclear power we need to aim even higher: the restoration of most of the Earth to its natural condition (plus intervention to compensate for the lack of megafauna). Let's let the rivers flood as they are meant to, and the oceans and rivers be free of industrial fishing. Let's use our biological skills to get rid of introduced species in many places.

Of course it is a bit premature to worry about a world with too much energy.

Sunday, December 5, 2010

Sign Language

NextBigFuture speculated that no one will learn second languages soon because of machine translation. This misses quite a lot of the way we use language that machine translation can never do (such as using esoteric or group-specific features of a language as a way of establishing membership of a group). However my posted comment concentrated on one of my pet theories:

Human brains are designed to know multiple languages and some bits of the brain don't develop properly if not (which we know because people with one language have more trouble learning a new language than people who learn more than one when very young). And there is a second language that everyone should learn early: sign language. Reasons: (a) Talk in noisy environments; (b) Easier to have a private conversation because light waves are easier to block than sound waves; (c) Babies can learn sign language earlier (and parents are very frustrated till they can communicate with their kids). Sign language was our ancestors first language: we needed a language first to justify all the voice box changes needed for language.

Friday, November 12, 2010

Liebig and the carbon price

Economics is dynamic. All my ways of trying to understand it are static, like EROEI. So I often wonder whether I really understand. We get this in the EROEI discussion. So what happens to the money the company pays to the janitor (or the CEO). They spend it, and there is energy embodied in the stuff they receive. And the people receiving the money spend it and ...

This seems to have something to do with Liebig's Law. The thing that is in short supply is what counts. For 200+ years that thing has been skilled labour. Now, maybe temporarily, it is oil. So that suggests that for our infinite regression on the janitor's salary, each step has some embodied oil. And the sum of all those bits of embodied oil limits how much value you can get out of the dollar. Well this conveniently forgets that there is some time delay between receiving and spending money: the velocity of money.

So let's take a case relevant to saving the world: our carbon tax (whether it is done with a market or not). Proponents of this mostly say that it should be revenue neutral. All the money raised is returned to the public in some wonderfully fair way. Let's assume we have a closed system: Not much point if we just move the carbon emissions to another country. So the public buy energy (directly or indirectly) and part of the price is carbon tax. Then they get that back and they buy more stuff with embodied energy. Then they get that tax back. Well its doubtful if you can buy anything that doesn't have embodied energy, but only a proportion is carbon intensive. So how does this cycle play out? Are the infinities relevant or can we normalize or zenoize them?

Thursday, November 11, 2010

importance of Liebig's law of the minimum

Recently Paul Krugman showed in his blog a graph of commodity costs: Big spike in 2008 and back to normal levels. But of course commodity prices as a whole are suppressed in this ongoing financial mess. He is failing to take into account Liebig's Law.

Liebig's Law applies in its original form to plants. Let's just consider the 3 standard ingredients: NPK. A particular type of plant will need a particular ratio. The growth of a particular plant in a particular location will be constrained by whichever is in shortest supply (taking the preferred ration into account). There will then be unused amounts of the other 2. Now we can imagine that the plants of that type in that area will be evolving towards making more balanced use of the resources available there. However long before much progress is made in that direction the area is likely to be overrun by a different species that is already better adapted to the NPK ratio there.

We need to understand the corresponding situation in economics. Global production requires resources. The key resource is the one in short supply. Naturally there is an excess availability of the ones that aren't in short supply, and their price is driven down. There is only so much that society can spend on resources as a whole, so not surprisingly the total cost of resources stays steady. The key is the one in short supply. Currently, and for the next decade, that is oil.

There is pressure on us to evolve: to use oil more efficiently and to use other things where possible. However our current technology mix is the wrong "plant" for the new environment. The correct answer is to switch to an electric instead of an oil economy.

Getting back to Krugman's post. The key commodity for global production is the one in short supply, where the substitutability is almost used up. That's oil. Total/average commodity costs are not the important thing.

P.S. On previous occasions I've misspelt this Lieberg.

Saturday, October 16, 2010

Comment on water allocations (in The Australian)

We need to get back to first principles. The amount of water available varies and is often zero for extended periods. So: (A) We need to have agricultural capability out there to take advantage of the water when it comes; and (B) We can't have plants, like fruit trees, that will die if they don't get a minimum allocation every year. So actually rice is a great crop to plant when there's lots of water, as long as it isn't allowed to take water when it is scarce. If you want a market mechanism to do this, I'm happy to give my "Hedging the Weather" talk to anyone who's interested, from the abstract: "Modern radar systems deployed by the Bureau of Meteorology may be able to give an unbiased and reasonably accurate report of how much rain has fallen and where, in areas covered by such radar. This can form the basis of an insurance system to allow farmers and others in those areas to hedge against the weather." This system would give farmers the averaged income they need to keep the regional towns going during droughts.

Monday, October 4, 2010

Need for a 4th arm of government

[response to Andre Joyal at nCategory Cafe]

There isn’t a problem with democracy. The problem is this: The facts are going to influence policy, and that is going to determine who makes money and who doesn’t. This always results in a morass of conflicting claims about the facts. Parliament is not a good place to debate the facts. It is the right place to debate the policy implications of the facts. Democracy needs an independent, vigorous, ongoing, open enquiry into the facts for all matters impacting public policy. That enquiry needs to have the power to acquire evidence, and the financial resources to do its own investigations. The leading investigators need to be seen to have the technical skills to do the job (in particular mathematical skills) plus the right amount of status (like a Judge), independence, and the right personality to stand up to the most powerful people and organizations. Hmm, not easy to find such people. Particularly because it is important that people and organizations who have been associated with promulgating or even condoning statements intended to be misleading need to be excluded from taking up the investigators time, and that process has to also be open. Still it doesn’t sound a lot harder than being an important Judge.

Sunday, October 3, 2010

Comment on Krugman post comparing economic theories

I'd be a lot happier with theories that clearly distinguished between price increases caused by general inflation and price increases caused by the increasing scarcity of some universally used resource input. To rephrase that: if you don't think about money at all, then one expects there to be pain when transitioning a large part of society's infrastructure from one technology to a different one, particularly if it is less efficient. Indeed there have to be a lot of inefficiencies associated with running parallel technologies (like maybe cars and horses in the 30s?). So how do we expect that sort of thing to play out?

Saturday, October 2, 2010

Discussion added to EROEI entry at Azimuth wiki


  • Energy for workers. The janitor’s refrigerator uses energy. Actually all the money paid to all the workers will be spent in ways that cause energy to be consumed. If this is included in EROEI calculation then we can see what happens when there is declining EROEI. The EI can be reduced by reducing wages (in real terms). This can only happen if all wages in the community drop, otherwise the energy business can’t hire. So this is the last resort way of reducing the EI and improving the EROEI.
  • Oil is an energy carrier. In the proposal for a Hydrogen Economy the Hydrogen is just an energy carrier. Similarly oil and its distillates are energy carriers, particularly useful for the transport industry. Recently oil’s price has decoupled from other energy sources (electricity and natural gas). The extra price represents the value of oil as an energy carrier. So it is difficult to use EROEI calculations directly on oil. Ultimately we will still be producing a lot of oil when the EROEI is less than 1, using up non-oil energy in the process.
  • Energy’s reign. It is possible to view the production of goods and services as requiring energy and (skill-weighted) workers. When we spend money, then the services we get use up energy and worker time. The recipients of the money spend it and use up more energy and worker time. Ultimately the money’s circulation uses up some of both. The two have to come into balance. The industrial revolution meant that energy was plentiful and skilled workers were scarce. So energy prices were driven to the floor and wages rose creating the middle class. If energy is in short supply then energy prices will get off the floor and wages will be driven down to restore balance. All of which amounts to an argument that cost/price is the best measure of total energy in or out at any point in time. EROEI calculations that exclude pay and dividends are the way to look at the crucial limit case.

Wednesday, September 29, 2010

Comment on Stephanomics on Oil


 IF the world were stimulated enough to get back to full employment, then how much oil would the world need? This is not an impossible question since the close connection between total production and oil production has been visible for decades. Now suppose that the world simply can't pump that much oil at the moment. What are the economic implications of that?
To answer that you have to look at where the world is heading. The price of oil has decoupled from the general price of energy. That means that the price includes a component for the energy, and a component for the extra value of oil as a convenient energy carrier (particularly in our world with so much oil-dependent infrastructure, like trucks, cars, petrol supply chains). This means that (a) Where possible (stationary situations) everyone is moving to other energy sources; and (b) We can increasingly use energy to get oil and still make a profit (this opens up options like tar sands, heavy oil, and in the long run we can even make oil out of thin air, perhaps using algae [I'm not suggesting that algae will ever make cheap oil]).
Other energy will never be as convenient as oil that flows out of the ground under its own pressure. Lack of convenience won't matter if it's cheap enough. The Green view that the cost of energy is unimportant is completely wrong. So the required recipe is clear:
(A) Stimulus must be used to build cheap electricity, not to try to restart "business as usual".
(B) We need to actually suck up any resulting excess liquidity in private hands to prevent us smashing again into the current limit of oil production: e.g. Energy Crisis Bonds in the style of War Bonds.

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.