HNHacker News
TopNewBestAskShowJobs

devnull3

822 karma · joined August 2, 2021

submissionscomments
devnull3··on How Delhi cut electricity loss from 50 to 5 percent
The load shedding was a chronic problem. It lasted months if not years.

Example from year 2003 (city = Pune) [1]. Its hard to read

Excerpt:

The load shedding schedule is as follows:

  Group A: Monday 8 am to 11 am, Tuesday 11 am to 2 pm,Wednesday 3 to 6 pm, Saturday 11 am to 2 pm: Navi Peth, Gultekdi I and II, Dhankawdi, Padmawati, Old Parvati I and II, SNDT, G Block, Parsi agiary, City Apollo, Sant Tukaram, Kharalwadi. 

  Group B: Monday 11 am to 2 pm, Tuesday 3 pm to 6 pm, Friday 8 am to 11 am
[1] https://timesofindia.indiatimes.com/city/pune/mseb-announces...
devnull3··on How Delhi cut electricity loss from 50 to 5 percent
> unplanned power cuts

Actually load shedding is planned power cuts. I have seen a schedule published in a newspaper with different regions of the city (not Delhi) and times when no electricity will be available. This is for ppl to plan their day

devnull3··on How I use HTMX with Go
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.

devnull3··on How I use HTMX with Go
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.

devnull3··on Fable Converted Pylint to Rust
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··on Building an HTML-first site doubled our users overnight
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··on How's Linear so fast? A technical breakdown
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··on A case for Go as the best language for AI agents
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··on The Laffer Curve in Action
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··on The Laffer Curve in Action
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··on The Laffer Curve in Action
> 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··on The Laffer Curve in Action
> 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··on The Laffer Curve in Action
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··on SSE sucks for transporting LLM tokens
Server Sent Events [1]

[1] https://developer.mozilla.org/en-US/docs/Web/API/Server-sent...

devnull3··on SSE sucks for transporting LLM tokens
> 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··on Has the cost of building software dropped 90%?
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··on IBM to acquire Confluent
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··on IBM to acquire Confluent
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··on HTML as an Accessible Format for Papers (2023)
> 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··on Japanese game devs face font dilemma as license increases from $380 to $20k
With all the advancement in AI, shouldn't it be easier to create new fonts?
devnull3··on WordPress plugin quirk resulted in UK Gov OBR Budget leak [pdf]
> which provided a link to the live version

Even if that is the case, the backend must validate.

devnull3··on Keep these Stupid American Trucks out of Europe [video]
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··on Confessions of a Software Developer: No More Self-Censorship
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··on Several core problems with Rust
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.

devnull3··on $1900 Bug Bounty to Fix the Lenovo Legion Pro 7 16IAX10H's Speakers on Linux
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.

devnull3··on Rebecca Heineman has died
In this case, I had to search for the word died/dead/"no more" to even know who is no more.
devnull3··on Rebecca Heineman has died
Meta: I think such black strip moments should be pinned at top of the hacker news while it lasts.
devnull3··on Async/Await is finally back in Zig
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?

devnull3··on Debug like a boss: 10 debugging hacks for developers, quality engineers, testers
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.

devnull3··on I switched from Htmx to Datastar
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.

Page 1 of 9Next →