HackerTrans
TopNewTrendsCommentsPastAskShowJobs

devnull3

no profile record

Submissions

You Were the Smart Kid, So What Went Wrong? [video]

youtube.com
2 points·by devnull3·6 miesięcy temu·0 comments

comments

devnull3
·22 dni temu·discuss
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.
devnull3
·w zeszłym miesiącu·discuss
I am actually impressed by the gov.uk websites. Its minimal and just about right for its purpose.

May I ask what tech is used for mobile apps? I am guessing not a full mobile app but it uses webview.
devnull3
·w zeszłym miesiącu·discuss
How do these ideas work for domains which need encryption at rest? (e.g Healthcare, fintech, etc)?

Lack of native encryption in indexedDB is a dealbreaker for certain use-cases.
devnull3
·4 miesiące temu·discuss
I wonder how many tokens are spent generating: if err != nil {return err} for large programs and over a long period of time.

May be this is good incentive to improve error handling in Go.
devnull3
·7 miesięcy temu·discuss
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.
devnull3
·7 miesięcy temu·discuss
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).
devnull3
·7 miesięcy temu·discuss
> 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.
devnull3
·7 miesięcy temu·discuss
> 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.
devnull3
·7 miesięcy temu·discuss
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)
devnull3
·7 miesięcy temu·discuss
Server Sent Events [1]

[1] https://developer.mozilla.org/en-US/docs/Web/API/Server-sent...
devnull3
·7 miesięcy temu·discuss
> 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.
devnull3
·7 miesięcy temu·discuss
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.
devnull3
·7 miesięcy temu·discuss
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
devnull3
·7 miesięcy temu·discuss
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.
devnull3
·7 miesięcy temu·discuss
> HTML rendering requires you to be connected to the internet

Not really. One can always generate a self-contained html. Both CSS and JS (if needed) can be inline.
devnull3
·7 miesięcy temu·discuss
With all the advancement in AI, shouldn't it be easier to create new fonts?
devnull3
·7 miesięcy temu·discuss
> which provided a link to the live version

Even if that is the case, the backend must validate.
devnull3
·7 miesięcy temu·discuss
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.

[1] https://www.driving.org/uk-cars-are-outgrowing-parking-space...
devnull3
·7 miesięcy temu·discuss
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.
devnull3
·8 miesięcy temu·discuss
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.