Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Taking multiple years to correct a critical shortage and then overcorrecting is not a good example of markets being efficient. Any kind of system that responds to usage can do this, the criteria is about speed of correction, lack of oscillation, and avoidance of side effects.


Markets are unpredictable. Side effects cannot be avoided. And while the situation is ugly, central planning has never made this kind of thing better.


The mitigations can be planned for so the hit isn't as big when it does hit.

But that eats into profit margins today so it doesn't happen...


> central planning has never made this kind of thing better.

If the Chinese central planner Xi had decided against a zero-covid policy in China, this thing would have been far better.


> this thing would have been far better.

China has about 1.4 billion people - and all-time 5.226 COVID deaths. The US has 331 million people - about a quarter of China - and an all-time of 1.1 million people, about 200x of China.

As much as it pains me to write this, but China did the morally better thing here and actually cared about the lives of its citizens.


China lies about everything. All public stats are cooked. There is no free press to question these absurd numbers, no whistleblower laws respected.

Their leaders have never ever cared about the lives of individual citizens. Xu’s hero, Mao, boasted that he would sacrifice as many innocent lives as he saw fit to reach his goals. The 5,000 number is laughable and meant only to keep Xi from executing party members, which he would certainly do if they told him anything approximating fact.

Eventually you will learn that way more than 5,000 people, mostly senior citizens, died from starvation alone during the recent months-long lockdown in Shanghai.


If you really believe the 5k number from China I have multiple bridges to sell you.


The numbers coming out of China are self-reported and unconfirmed - thus completely bogus.


Some people prefer death over slavery. Others think being alive is worth much more then anything else. So, I guess one can choose now: 996 and zero-covid, or a bit more freedom and a bit more risk... I know what I prefer.


Except the choice wasn't between 996 and COVID, it was between serious, targeted lockdowns that everyone hates... And COVID and ineffective, more limited, but also more broad restrictions that everyone also hates.


I think it is more accurate that the CCP cared about China as an entity. Their actions have been very heavy handed and haven’t shown much respect for individual liberties.


In the UK we have a fraction of the population of China, and we did half arsed lockdown and lost nearly quarter million lifes! Imagine the death count in China if they went Sweden mode! Their zero covid policy is an example of putting population ahead of economy and make every other nation jealous.


Except there's no such thing as a zero covid, anywhere. Eventually you get covid and if you're susceptible (mainly old), you die.

But that's beside the point.


The goal of the lockdown is to contains spreads and reduce death, reduce the chance of giving the virus an open field to mutate and yield new variants. Of course it’s never going to be zero death, but their numbers fared better than even smaller nations https://www.worldometers.info/coronavirus/country/china/


Their released numbers. Least we forget this is the country that declared war on sparrows and lost.


> Except there's no such thing as a zero covid, anywhere. Eventually you get covid and if you're susceptible (mainly old), you die.

Had everyone followed the New Zealand model in the first year until vaccines were widespread and available, the virus would have gotten extinct just as Influenza Yamagata strain.


You mean everybody should just be an island with low and very dispersed population, with relatively high development levels at the start and high degrees of self sufficiency wrt basic needs? Why, why didn't they all just do that then!


Japan closed its borders for almost three years and it didn't save them at all.


It has and multiple times at that. Least we forget it's the only way that any country, including the US, has ever industrialized.


It's clear, We need a PID controller running the markets. Only half joking.


>We need a PID controller running the markets. Only half joking.

See Gosplan ([1]). They kind of tried. It will work better with an implementation that has more silicon than humans, but it will still be miserable on the edges.

1. https://en.wikipedia.org/wiki/Gosplan


> See Gosplan

I’ve seen a lot of Gosplan computer center. We were borrowing “untouched” versions of software for Soviet bloc-produced IBM-compatible mainframes there. At the exit there was a KGB post, they were checking for a permission for every single bit of paper that was being carried out. But we were not carrying paper, we were carrying magnetic tapes, and our contact at GVC (“the main computing center of”) Gosplan was too lazy to go get a permission for them. So I tucked a magnetic tape behind my belt and buttoned up my coat. Not a single time I was stopped. GVC Gosplan had a full detailed data on the Soviet economy and I could have potentially carried any secret data away.

But we were not carrying any secret data, we were carrying OS/360 21.8 and later on - VM/370 (do not remember the exact version for that, sorry).

So, while Gosplan was planning and financing the production and distribution of the “adapted for socialism” version of OS/360 (re)named ОС ЕС - their own computing center (and everyone else who could have got it) were using the original OS/360. I wonder if any mathematical model can handle such a situation properly.


Fascinating story!

But yes - the mathematical beauty of a planned economy model is often negated by sheer incompetence and corruption of the planner.


Every system will have corruption so the only one that will actually work is one that is at least somewhat resistant to it


The problem goes a bit deeper than just competence vs incompetence of the planner. The planner is a person. A person looks at the mathematical recommendation - and sees that it is cruel: a project should be closed, a lot of people should be laid off. In capitalism, no cruel decision is yours completely: “market forced me to do it”. Brezhnev time Soviet leaders were probably less cruel than an ordinary American capitalist. So the effective economy was out of question.

Also, to be cruel is not enough. You should have a political power to implement an effective solution. Political power is based on relationships. Suppose mathematics says: person A’s project should be reduced, person B’s project should be funded more. But: person A is your guy, and person B is of your rival’s camp. Will you follow the math? It’s probably a theorem: in a planned economy a recommendation that reduces the political power of a person that has the political power to implement it - will never be implemented…


This is extremely interesting. Is there a good book you recommend on this topic?


"Red Plenty" by Francis Spufford. Many pointers from Google:

https://www.google.com/search?q=red+plenty

It's a fictionalised history of some Soviet economics. There's a chapter on Kantorovich (cf the sibling comment). It goes reasonably deep (not mathematically deep) and provides a lot of context. Great book from a great author. Don't be put off by the "Soviet" part -- it's very entertaining.


The part in there about death rates is not mathematically sound.


One of the best minds of that epoch that worked on the problem was Leonid Kantorovich ([1]). From wikipedia:

"He is regarded as the founder of linear programming. He was the winner of the Stalin Prize in 1949 and the Nobel Memorial Prize in Economic Sciences in 1975."

In that respect, any book about linear programming is a good start. The problem with the approach used back in the time was a slow feedback loop (5-10 years) and inability to adjust to externalities, including technology changes. That should be possible to improve with our modern tech, but I am not aware of any good contemporary books about it - if someone knows one, I would appreciate a reference myself.

Edit: from the CIA file on Kantorovich ([2]):

"In addition to his mathematical research, Kantorovich has been directly involved in developing improved designs for high-speed digital computers, an activity apparently motivated by the Soviet Union's need for improved computers in solving large economic planning problems" "

1. https://en.wikipedia.org/wiki/Leonid_Kantorovich

2. https://en.wikipedia.org/wiki/Leonid_Kantorovich#/media/File...


For more silicon, see Project Cybersyn [1].

[1] https://en.wikipedia.org/wiki/Project_Cybersyn


I think we have something that should do the PID for overall economy. It's called The Central Bank, and it is a damn difficult job.


Imagine hooking every valve in an entire chemical plant to a single wheel.


The Central Bank is about hooking up a few valves and then predicting how every other valve's flow will react as a result. The Soviet system was closer to hooking up every single valve.


Maybe we are doing PID, but we need anti-windup.


I wasn't familiar with anti-windup, so I found https://www.scilab.org/pid-anti-windup-schemes that seems to cover the concept reasonably well.

One thing I noticed is that smoothing functions that reduce overshooting the response also add some delay to the time taken to first reach the command threshold. This is interesting, if not quite surprising.


>I wasn't familiar with anti-windup, so I found https://www.scilab.org/pid-anti-windup-schemes that seems to cover the concept reasonably well.

It's one of the fundamental techniques to get PIDs to work properly IRL. I can't find it right now, but I remember having a cheat sheet with a lot of tricks to make PIDs work properly. As a control engineer you learn a lot of fancy techniques, of which you usually only use a few, but practical PID control is sadly not taught in most courses because it's basically a collection of hacks.

If you know a little bit more about the system's behavior you can usually precalculate the optimal inputs and use the PID only for course correction, that often yields much better responses than what you can achieve with a controller alone.

If your system is nonlinear, it might be useful to use gain scheduling to adapt the PID parameters to the setpoint region you're operating in.

Switching behaviors in the system can also mess up your responses.

Sometimes your system has a vibrating frequency that can lead to resonance in your control. You may need to filter that, too, maybe even with a sliding frequency window. E.g. when controlling a gearbox attached to a motor, you don't want to actuate at the motor's vibrating frequency.

>smoothing functions that reduce overshooting the response also add some delay to the time taken

It's not so surprising if you think about what a low pass filter does. By filtering out the high frequencies the response becomes more sluggish, meaning that your input to the PID is already delayed. This means your PID reacts more slowly.


heh, control theory as applied to economics... this is really what MIT's system dynamics is/was about IMHO. Forrester's world model was an attempt at that.


Is multiple years actually bad? We are talking about real economy and real tangible things here. With lead times involved. 2-3 years doesn't actually seem that long in that context.


Yes, it is bad. 2-3 years is a long time. It is possible to make real tangible at great speed, but also at great cost. It's likely this would have been better than stalling the economy.


> speed of correction, lack of oscillation, and avoidance of side effects.

Aka good, fast, cheap.


Unless you have a crystal ball I’m not sure how one can do better?

The alternative is forcing some slack in the supply chain but that comes at a significant cost to consumers.

Not sure about you, but I’d rather pay less not more for things, even if it means a temporary price increase or even shortage.


> The alternative is forcing some slack in the supply chain but that comes at a significant cost to consumers.

I’m amused by this comment.

You think the squeeze and now the glut didn’t come at a significant cost to consumers and the economy as a whole?

It seems pretty clear after the massive failure at the start of the pandemic that just-in-time went too far and there is not enough slack in the supply chain at all level. Even from a purely systemic look, the wild oscillation we see right now should be proof enough that the system is significantly under-dampened.


Compared to what?

Paying 10% more for a product in perpetuity costs a lot more than a 12 to 24 month period where prices double. And for non-essential goods, the option is for some customers to simple delay purchase.

And you’re forgetting it works in both directions. Consumers may see temporary high prices but they often see temporary low prices during supply chain recovery.

And again, how do you accurately predict the future? Demand can double pretty quickly. Having 10% slack (and the cost of it) would have dampened higher prices somewhat, but now you’re paying higher prices all the time and slightly less high prices when things go sideways. Doesn’t seem like a good deal at all.

I’d much prefer the free market approach where there are multiple actors each making different bets on future demand than some overarching rule about how future demand should be planned for (thats how we get famines).

The producers who bet on increased demand (or shrinking supply from competitors) get handsomely rewarded for the bet.


> Paying 10% more for a product in perpetuity costs a lot more than a 12 to 24 month period where prices double.

JIT manufacturing gains are far under 10%. It’s mostly advantageous from a capital flow point of view. At this point, considering the overall brittleness introduced, it’s not obvious to me there ever was gained at all if you consider both the up and the down.

It’s pretty obvious that at this point the purely free market approach is as successful for manufacturing as it was for banking. How can we even talk about free markets when the government just saves everyone each time a large crisis happens?


What government save happened for the supply chain? What brittleness?

People had to pay more for cars? The cost of airline tickets went up? Lumbar prices went up?

I mean, don’t see many consequences for that brittleness. Inconvenience sure.

And I mean, if you think it’s the wrong move then there is an opportunity for you to get very rich - either start a company selling for higher prices to account for slack or heavily invest in ones that do.


> I’d much prefer the free market approach where there are multiple actors each making different bets on future demand than some overarching rule about how future demand should be planned for (thats how we get famines).

Interestingly, food production is heavely planned through regulation, subsidies and incentives in most countries precisely because the free market cannot be trusted with such a sensitive matter. Famines cause riots and that's bad for buisness.


Hopefully we see a future with a. multiple actors and b. that they are making different bets


I mean, they are already?


>You think the squeeze and now the glut didn’t come at a significant cost to consumers and the economy as a whole?

Ah, yes, this tired old "we should incur broad and hard to quantify bad things to avoid some small but easy to quantify bad thing" that is ever popular among people who should be smart enough to know better.

I agree that the system does seem somewhat under dampened but without a serious attempt at forecasting what the actual cost of damping it is I see no reason to change the status quo.


The toyota model actually uses the reduced slack to see what products need to have what amount of slack early.

Most companies seem to not know that nuance.


>> Most companies seem to not know that nuance.

Toyota's tier-two suppliers surely know it pretty well. Their suppliers a little less well. And so on, down through the supply chain.

It isn't the case that Toyota has some magical vision (though they are clear-thinkers). The key difference is that Toyota is at the end of the supply chain for all their suppliers.

Think of pulling an elastic tether on a solid object, which pulls an elastic tether on a solid object, which pulls an elastic tether on a solid object. Friction accumulates and it doesn't disperse evenly.

So the Toyota model is great iff you are Toyota or similar OEM. With diminishing returns as you progress further down the supply chain.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: