Thursday, August 30, 2018

Chinese threat of > 50%

The biggest potential of BTC in the near term is for banks to view it
as good as gold, and hold it accordingly, especially as the dollar
collapses from the U.S. not having a manufacturing base (7% of the
population) and the world no longer needing to finance the US.
military by cycling their trade surpluses into U.S. treasuries that
make the deficit spending possible that makes the military possible.
The dollar house of cards should fall fast because the world "needs"
the last remaining support column, U.S. consumption, less and less.

But BTC is not tenable as a replacement currency if the Chinese
government can tell >50% of miners what to do, or produce enough
mining equipment to get that >50% in a dozen months. They are so
aggressive with solar (with its collapsing costs), no one will be able
to compete with them in electricity. But their ability to be cheapest
mining community has given the Chinese government a zero-cost
infrastructure they can take over at any time. If BTC stands in the
way of the the RMB copying the dollar's play book, they will have no
qualms in using the mining power at a loss to quash it. Only by
squashing it will they be able to dictate trade terms to the rest of
the world in the same way the U.S. military & dollar enabled the U.S.
since even before 1971. Their ability to control BTC's POW should reduce European
and U.S. banks' desire to rely on BTC as if it were gold.

BTW, I do not mean to downplay BTC's importance by equating it with gold: when the
dollar-led fiat bubble collapses, gold-like stuff should shine as it has at the beginning of any monetary collapse and wars.

The Chinese control the BTC mining equipment, and has the cheapest electricity. The shift
to fees does not change anything: China will still have the
POW that can dictate what the ledger says, choosing
txns more easily than the U.S. has been able to place embargos on countries that get
out of line. They need to only act like the U.S. for it to be a disaster for most of us.

The Chinese government may have little interest in BTC,
even if leaving it alone would be their best option. (It would be
because they have the manufacturing base and everyone rising together
would allow them to rise higher than the U.S. IMF/world bank play book allowed us).
But no government or people seems to have been that enlightened when
they have had such a large edge. It seems like they may follow the U.S.
and U.K empires' and guide the world towards the RMB, first
by being the world's greatest producer with the greatest trade
surplus, and then by letting the manufacturing base slip away via the drug
of currency "surplus" and trade deficit.

BTC can't go against the desires of China to an extent that's greater
than China's unwillingness to dictate terms to its mining community.  That
does not seem like a very great barrier. So BTC playing a supporting role to RMB dominance is a real possibility thanks to "might is right" POW mining. 

Bitcoiner's are all about capitalistic free markets and no welfare state, and yet they have a "kumbaya" feeling for a worldwide community-without-government consensus to define a world currency. But at its core is POW which is not a popular vote, or a vote for what's best for the world. It's based on power. If that power gets concentrated, then evolutionary rules replace consensus.  If China remains strong enough to maintain > 50% and if its government acts in a way to coordinate its miners, the rest of the world will be proven evolutionarily weak. It will be an example of really free market weeding out the weak, thanks to the absence of a world government that might have protected the weak via laws and a power outside of the blockchain.

Can BTC be made to prevent China from dictating the POW results?
There is such acrimony shown to forked clones that have so little
community and dev support, it would seem no one believes a
state-sponsored clone, backed by a tweet army, would have much trouble
in replacing BTC. China is the only one who could do this in addition
to POWing the real BTC into worthlessness.

Tuesday, August 28, 2018

Chinese investment in Africa

Much of the Chinese investment in Africa is probably good for Africa, like some of the West's investment in the 3rd world. But the instances of over-charging for infrastructure development (such as the Railway the FT mentions) creates an indebtedness that is also reminiscent of the U.S. model, especially the IMF/world bank play book, as long as the debt to China is in RMB or USD. Debt in local fiat is far better for Africa, as it gives them the option of printing away (inflating) the debt, giving a fiat to China that China can only off-load by spending on things from that same country, employing it's people and businesses. The "inflating away" is not a a total cheat because China can use it to gain some control over that country's people. But it does motivate china to not make bad loans, motivating them to remain interested in the productive success of whatever the loans were for, so that the debt does not need to be inflated away.

Africa investment in USD is alternative to risky U.S. treasury debt. They have to offload excess USD from U.S-China trade imbalance. They can't buy U.S. stocks & real estate. To repay loans, Africa will give resources to China, exported on those same over-priced railways.

If most the money (RMB or USD) is spent on Chinese intellect or labor, they don't even lose the money "loaned"...it goes back to China....so the resources are obtained for the cost of the infrastructure in a way that keeps their trade surplus.

China is graduating 10x more engineers per year than U.S. and building about 10 tons per year per U.S. citizen in its infrastructure. If it continues to grow 3% per year faster than U.S. for the next 40 years (as I expect), that will be 1.03^40 = 3.2x bigger than it is now, compared to U.S. They are not likely to lose their empire edge as fast as Spain, U.K., and U.S. did in prior centuries because they really understand the economics and importance of protectionism better than we ever did. They will not let their manufacturing base slip away as easily as the U.S. did.

But even China is irrelevant compared to on-going rise of the machines.

Thursday, August 16, 2018

Microscopic gravity-powered mechanical computer

This post can be of general interest, but I need it as background reference material for a future article about cryptocurrencies.

A mechanical, gravity-based bit
Let's say that a bit in our system is a ball in a box instead of electrons stored on a capacitor or magnetic domains stored on a ferro-magnetic material.  A 0 or 1 is if the ball is or is not in the box.  For our ball to remain in the box, it must have at least a 50% chance of not being bumped out of the box by thermal agitations. This is the basis of Landauer's principle. The energy needed to do this according to the principle is E1 = k*T*ln(2) where k = 1.38E-23 = Boltzmann's constant and T = absolute temperature in Kelvins.  At room temperature T = 300 so that E1= 3E-21. This is very close to a van der Waals force, which is an attraction so weak it's not considered a bond. Hydrogen bonds are the weakest of attractions called bonds and are not considered permanent in water, due to the polar nature of water and thermal agitations. They are from 2x to 20x stronger. So the Landauer limit is unrealistically low. Covalent bonds are about 200x stronger, and ionic bonds are about 400x to 2000x stronger. In a computer we need a LOT more reliability than 50% chance of the ball being in the box.  If we use E2 as our energy barrier, frequency of a bit escaping out is f = f0 * e^(-E2/E1). See Arrhenius equation (E1 for this part should be k*T, 30% larger than k*T*ln(2)). f0 is the frequency of thermal vibrations in the crystal which is on the order of 10THz for silicon, the structure I'll make this CPU out of. 10 THz is a great overestimate of what I'll need because the balls I'll use are bouncing off the surface so that only a portion of the vibrations are imparting energy.  Let's say I'll make it a nice big CPU with really high reliability. Say 100 million NAND gates with about 2 energy wells per gate and Ill allow 1 error per 10 years, so I want "f" error rate = 1 per 10yr*8670 hrs/sec*3600 sec/hrs*100 million gates*2 wells/gate.Rearranging gives E2/E1 = -ln(f/f0).  For these numbers, I get E2 needs to be > 70 * E1. E1 here is 30% less than my E1=k*T*ln(2), so E2 > 100 * E1. so it appears the strength can be like a weak covalent bond, which makes sense, assuming covalent bonds in air at normal T & P conditions almost never break.

If the ball has a mass in kg of "m", then the height "h" of the walls in meters has to follow the E2 = mgh equation to determine the h necessary to store the ball in the box (g=10 for gravity on Earth).   If I use balls that are 50 billion atoms of gold, E2 = 100*3E-21 = 50E9*1.66E-27 kg/amu*198 amu/goldAtom*(g=10)*h.  Solving gives height of wall = 1.8 microns. The diameter of the ball is 1.2 microns.

Mechanical NAND Gate

This will show that a logic circuit making the simplest single calculation must use the same amount of energy as storing a bit. This is obvious if you already understand entropy and its relation to energy because 2 bits of energy come in and 1 goes out, so the other bit must have turned into heat. That's the minimum energy expenditure for a logic function, not counting esoteric reversible logic.

But that's not enough for my goal. My goal is to show the fundamental physics basis of all the deep parallels between economics and computing.

A single type of many different gates (like NAND, XOR, Toffoli, Fredkin, etc) can (and have) form a complete computer.  The NAND is the usual one used, so I'll use that one. I only need to design a single NAND gate for my purpose, and let others decided how to use them to build a computer.

The balls shown are defined in the bit section above. The pink lines are tubes that return the balls to a pump (not shown) that returns them to the top.

I accidentally made an AND gate instead of NAND gate, but this will show the general idea. This is lacking in detail that I could only fix by building a physical model or with 3D software.

The left-side balance goes down only when there are 2 balls on the left side. It's not shown, but the input has two slots.  Only 1 is shown because we are looking at the side view.  The output can also have more than 1 output.  The balls being stored at the top is a system-wide potential energy well that powers the computer, like voltage drives electrons. There is a rectangular counterweight on the balance equal to the weight of 1 ball.  If 2 balls come in on the inputs, causing the left balance to fall, closing the output . If only 1 ball comes in the top, it is basically back up to its initial level, and there is a mechanism to roll them out of the way to clear the gate for the next computation.



The green and red bars represent walls that go up and down (valves). CPUs are engines going through a cycle, so it's natural they have valves.  They have to be synchronized with a clock. They go down to let previous balls out.. They close after all balls have had time to get in place, in the entire computer. They can weigh much less than the balls and can be mechanically linked so that thermal vibrations cancel each other in trying to raise and lower the individual valves.

The cycle is: green valves open, balance resets. Green valves close, red valves opens. Red valves close. Inputs applied to "highest-level" NAND gates, which has a cascade effect of triggering all the NAND gates that it should. It takes some time to propagate as the appropriate balances fall. Repeat (green valves open).

Each level is the "well" that makes sure we know what state the balls are in: they are deep enough that we know the balls will not bounce out. When 2 balls come into the inputs, the balls fall two levels.  This is a total of 4 units of energy calculated in the previous section that gives me a guaranteed bit, so in 1 cycle, 4 units were used. If no balls come in, zero.  If 1 ball comes in, 1 unit.  There are 4 possible states: 0 balls, 1 ball in "left" side, 1 ball in "right" side, and both balls.  According to Landauer limit, it should average 1 unit of energy, and here I have used (0+1+1+4)/4 = 1.5 units.  One way to help is to let only 1 ball out at the bottom when 2 balls come, so the other can be helped to get back up 1 of the two levels. A more complicated design and arguments might be able to use the counterweight in a might help further.

There are two balls at the top which help push balls into the top compartment when the red valve goes down. This means I have to raise the balls a little more than the top floor. There needs to be at least as many as the number of red valves. The deeper the top layer of balls, the faster they will be pushed into place, enabling a faster computer but requiring more energy since the balls have to be raise higher. Also, the computer has to wait on the balls to fall which depends on force of gravity. If they were magnetically pulled down to fall faster, this would make it faster, but again require more energy.  Also, the wedges needed to get the balls out will force it to require a deeper gravity, again requiring more energy per gate per operation.  This seems to show a connection to the Margolus–Levitin theorem aka Bremermann's limit which says a bit can transition from one state to the next with a combination of more energy and more time.
bits  = 4Et/h
where E = energy, t = time, and h =Planck's constant.   So if E is higher, the time per bit can be less.

Clock Speed: The central clock will have a massive ball raised and lowered based on the clock that provides the energy to raise and lower the light-weight green walls..The clock speed is based on how quickly the balls can fall h which is based on h = 1.8 micon = 1/2*g*t^2 which gives t = 0.007 seconds on Earth where g=10. A clock cycle is at least 2x this which makes this a 750 Hz machine.  I could have chosen heavier balls to get an h as low as 1 nm which gives 28 kHz.

"Transistor" Density?
Four transistors are needed to create a NAND gate. It looks like my NAND gate will take up about 10x30 microns. This gives me about 1.3 million "transistor equivalents" in 1 cm^2 of material.

Memory
Memory may be built more simply, but two NAND gates can be wired as a flip flow to create bit storage.