Its fascinating to see these code conversions. I reckon its easier for LLMs because the existing code acts like a precise spec and double up as prompts which the user does not have to provide.
The points I had written are from an individual p.o.v.
I agree with what your implying, but my take is that Brits cannot (and should not) wait for Govt to come to its senses.
I am saying take inspiration from Brits of few generations back who ventured out, took calculated risks and endured sea travel for months to reach far out places to find opportunities. I mean do the modern equivalent of this. They did the grind so that the next few generation benefited.
Also, industrial revolution happened because of individual brilliance and not some govt policy. The only thing govt did was not get in the way.
Not everyone will be able to do this but sometimes it takes few people to inspire millions.
> Accepting low wages isn't a 'sacrifice' that is eventually repaid
It is not a question of being eventually repaid. It is to survive to fight another day. There are countless examples of how first generation immigrants (across all ethnicities) have to struggle and sacrifice so that they can provide the foundation for the next generation to thrive.
This is the mode Brits will have to enter into unfortunately.
This completely depends on the policies of the future govt. There are many examples (like South Korea, China, India) where the current generation is much better off than previous.
Another example is cliched "American Dream". There is/was some element of truth that if you are sincere and ready to work hard you can still make it in the life. However, I will agree that this can become much harder now.
I had written this on SM sometime back. I realized it is applicable to other nations as well and not just Brits (like French)
-------------
UK's situation is akin to someone who used to be rich and but that wealth has been steadily eroded. But that person still insists on having the same standard of living.
There is a generation of Brits who do not know what true sustained shortage is or what rationing is. They have never experienced blackouts or lawlessness. (What is being experienced right now is just a trailer)
So there are only two options really:
1. Insist on maintaining the standard of living
2. Willfully accept to lower the standard of living
Brits want (1) but the govt doesn't have the money and yet they don't want to pay for it.
This results into govt looking for every opportunity to tax. This results into passionate discussions on whether this is fair or not.
These debates even though understandable at times loses the sight of fact that this is a result of choice (1).
As for taxes, the govt will squeeze anything which resembles a pot of money which was untouched so far. Also the expenses (due to choosing (1)) are going to rise every year.
What will be left for the govt to tax next year or 5 years from now? The govt will run out of things to tax eventually. This is clearly not sustainable.
I think also the law of averages is catching up with Brits i.e. after so many generations (since the colonial era) there will be come a few generations which will be worse off.
__What is the way forward?__
This is not a solution to the problems but to accept the hard reality that there are going to be few generations of people who will have to make peace with a lower standard of living, work hard without getting much in return, so that their grand children will enjoy a much better life.
In other words, the current generation (and maybe next) has to swallow the hard pill.
These sacrifices on families come in multiple forms like:
1. Low wages, increased work hours
2. Prepare to go abroad for work to earn a little extra, just like skilled migrants from less developed countries do.
3. Make the best with what you have
4. Living within means.
5. Become less materialistic
6. Prepared to do work which Brits did not like and passed on to the immigrants
7. Pay for healthcare
8. Substantial reduction in benefit amounts.
9. Everyone in family has to work
(This does not talk about what govt should do, which should be a different post)
> the model has to re-run the generation, and the client has to start receiving tokens from scratch again.
I don't understand. The payload can be designed to have sequence number. In case of reconnect, send the last known sequence number. Sounds like a application level protocol problem and not transport. Am I missing something?
The pub/sub mentioned in the article essentially does the same thing.
Have a table level seqno as monotonically increasing number stamped for every mutation. When a subscriber connects it asks for rows > Subscriber's seqno-last-handled.
To add, (in UK atleast), the parking space in some spots could be really small [1]. I have seen bulky cars parked leaving no room for neighboring slots.
The ability to ask "stupid" questions without feeling embarrassed is a superpower IMO.
I had the sweetest manager once. Someone stared talking about iphone and she [1] casually asked "what is iphone?" (this is after 6-7 months after iPhone was launched). Everyone's jaw dropped ... what? In which world u live in? ... to which she said with a wide smile and not an ounce of embarrassment .. "what? I don't know what iphone is?"
But she was otherwise so good in every other aspect ...
[1] She is/was mother of 4 kids and that left her very little time for anything else.
There is a fundamental trade off between (1) Memory Safety (2) Zero cost abstraction/Performance (3) Ease of use
Rust attempts to solve this trifecta and that is where the complexity arises. If the problem at hand does not need async, then Rust has done commendable progress in dealing with the above trade-offs.
Async is in Rust can be hard because the problem it is trying to solve is hard.
All the above may be fine but when it comes to choosing the language in practice we need to think of trade-offs and guarantees that are suitable for problem at hand.
There is a reason why C++ reigns supreme in HFT and Gaming as memory safety is not super critical.