HN user

devnull3

786 karma
Posts14
Comments253
View on HN

Yeah this combo fits as easily as a custom sized/fitted gloves would.

I would add a-h/templ for templates and it has Datastar support as well.

It is staggering how Datastar is not more popular.

Datastar has evolved into a suite of tools [1]. If anything the gap has widened.

Off-course these additional tools are not free [2].

[1] Rocket for WebComponents, Stellar for CSS

[2] Nothing wrong in charging but $349 is a tad too expensive for me. I will happily pay if it was in double digits.

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.

I am not sure I understood but the above is written from average Joe pov.

It's not like the other European countries are any better off

Agree. As I said at the start this is applicable to other rich nations as well like the France.

In short, the UK will go down from 1st world to 2nd world (if one does not like the term: 3rd world).

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.

is behind forever.

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.

I think the cost of prototyping has definitely gone down.

Developing production grade software which you want to people to rely on and pay for it is not gone down so much. The "weak" link is still human.

Debugging complex production issues needs intimate knowledge of the code. Not gonna happen in next 3-4 years atleast.

I think there is a wide spectrum between small-homelab and google scale.

I was surprised how far sqlite goes with some sharding on modern SSDs for those in-between scale services/saas

That is exactly what I am doing with sqlite.

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.

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.

Disclaimer: I like Rust.

This has been an old problem with Legion laptops. All this will be available free of cost to everyone! Mad respect for people who are pledging their own money and the person who fixed it.

Also, Lenovo Legion Pro 7* are not cheap (not that this would have been justified for cheap laptops).

Shame on Lenovo/<big company> who should have fixed this years ago.

All the stunts in async/await or goroutines in go stem from the fact that there is no support for something lighter than posix threads in kernel.

Shouldn't the OS kernel innovate in this area instead of different languages in userland attempting to solve it?

In most production cases, there is no luxury of debugger.

In my current $job, all we get is logs from 70+ node cluster and that too in a shared-nothing architecture. You have to stitch together varied datapoints (job logs on multiple nodes, netstat o/p, job logs of other services, http access logs, tcpdump, etc) to even prove that problem is on the customer side and not ours.

DHH is spot on like he is on many issues!

There is a saying in my language which translates: give someone a hand and they'll take your whole arm.