Hacker News

New stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Show HN: Letter – Relationship-based access control (ReBAC) Postgres extension(github.com/paulharter)
    discuss
  2. I made Resend feel more like a normal desktop inbox(maildeskt.com)
    discuss
  3. The unexpected ingredient hidden on Poland's shoreline (4 min video)(bbc.com)
    discuss
  4. AI Goes to War: Ukraine AI Autonomous Drone Guidance(jeffreylminch.substack.com)
    discuss
  5. Thank you for holding my duck(naml.us)
    discuss
  6. CorridorKey – free neural net based green screen keys(github.com/nikopueringer)
    1comments
  7. Debian Inference Portal(debian.net)
    discuss
  8. Running WireGuard over HTTPS via Chisel, or how to bypass your hotel's firewall(momandpop.network)
    discuss
  9. Qualcomm Talks Up Linux on Snapdragon X2 Laptops(phoronix.com)
    discuss
  10. OpenAI hacked Australian Medicare portal(abc.net.au)
    discuss
  11. Heat May Kill 451,000 People in First 9 Months of Super El Niño(impactlab.org)
    discuss
  12. BlackWire, A little hardware security project I've been building(github.com/lovejoy-zero)
    1comments
  13. Dwarkesh Patels's popular but misleading account of Hugging Face incident(garymarcus.substack.com)
    discuss
  14. After AI models escaped testing environments,Irregular seeks $1.5B valuation(calcalistech.com)
    discuss
  15. "Can Jev Emulate a CPU?"(agihunt.info)
    discuss
  16. Go System One(rcarmo.github.io)
    discuss
  17. Jensen Huang says the junior developer problem ends in two years(thenewstack.io)
    discuss
  18. Physical Self-Play(skild.ai)
    discuss
  19. Ask HN: Can you suggest an interesting skill?
    5comments
  20. LensVLM-9B by Apple(huggingface.co)
    discuss
  21. Agent Etna – Automated staging environment and regression compiler for AI agents(agentetna.com)
    discuss
  22. WebGPU-Bench: A WebGPU Microbenchmark(ben3d.ca)
    discuss
  23. Realtime Raytracing in Bevy 0.20 (Solari)(jms55.github.io)
    discuss
  24. AI can never produce sublime art(hilariusbookbinder.substack.com)
    discuss
  25. ALP: Adaptive Lossless Floating-Point Encoding in Apache Parquet(apache.org)
    discuss
  26. Show HN: Lifeboat, 2-6x more concurrent agent sessions per GPU, no quantization(github.com/iterateai)
    discuss
  27. Why Omarchy Exists(pika.page)
    discuss
  28. The Python documentation is now available in Persian(python.org)
    discuss
  29. An LLM Beat NetHack(kenforthewin.github.io)
    discuss
  30. The Most Important Market in AI Is the Middle(tomtunguz.com)
    discuss

How we made claude.ai 3x faster in two weeks

82 pointsby 1h agoclaude.dev
49 comments
1h agoHN ↗

This writeup legit coincidentally matches the asking-agents-to-make-code-faster-but-with-constraints-to-stop-agents-from-breaking-things writeup I posted on Monday: https://news.ycombinator.com/item?id=49803085

Front-end UI optimization is slightly trickier than optimizing strict algorithms, but I found that prompts to the agents to build tooling to track visual regressions are more than sufficient. The main issue (at least with GPT models) is that you have to be very explicit about the use of padding/margins/negative space.

That said, for my front end projects from scratch, I'm staying away from front-end JS frameworks and seeing how far and fast I can get with just HTML/CSS/vanilla JS shenanigans now that agents can wield them effectively.

1h agoHN ↗

This was a fantastic read. Lots of useful info in there for your own projects.

1h agoHN ↗

Great writeup really appreciate the detail on what actually worked vs. what didn't.

1h agoHN ↗

tl;dr if you make absolute dogshit software that takes 4.38 seconds to stabilize its first paint you can make really nice headline claims by "optimizing" it later

59m agoHN ↗

Unironically true, can someone question, what is Claude desktop app doing that needs 500k+ lines of code?

Agents complicate something that should be much smaller and simpler and then agents speed it up adding more complexity. I suppose functionally you may say this is fine but aesthetically it is hideous!

52m agoHN ↗

There is nothing even functionally fine about this. The me who has programmed for a 4mhz computer with 128kb of RAM is crying inside. It's a fucking trivial interface for writing and displaying text and sending HTTP requests. You could have that displayed ~instantly on an 80s home PC. Now we have home computers that can execute somewhere between billions and trillions of instructions per second and yet a task that should take <10ms takes 4500ms. Our industry has become an absolute embarrassment.

47m agoHN ↗

This article is about the graphical interface, not the CLI.

35m agoHN ↗

TempleOS had kernel, compiler, 2D and 3D graphics drivers + libs, and tons of games and applications and the entire thing weighed in at less than 100kloc.

AI coding agents of today definitely bloat things up [egregiously].

26m agoHN ↗

On the other hand applications on TempleOS are expected/assumed to be perfect and have no bugs. It makes things a lot simpler =)

25m agoHN ↗

the codex desktop app bundles libreoffice's libraries. i wouldn't be surprised if claude does something similar.

51m agoHN ↗

Most line-of-business software has a lot of optimization opportunities. Making software optimized takes up time that can be spent building features. The fact that you can just make things go fast without having to take time away from feature building is actually pretty awesome.

49m agoHN ↗

Not taking 5 seconds to load text is a feature. 10x more valuable than whatever other shitty feature you're thinking of piling onto your monstrosity. Like, actually tangible valuable to users and consequently your business; Google has already done the studies at scale that demonstrate how every 100ms of delay has an observable impact on usage statistics and user retention.

1h agoHN ↗

How about you make Opus 5.5 actually work?

I had it try to prepare a code review for me. Not only did it refuse, it refused to even tell me what the prompt (written by another Claude!) was. Why?

When I had another model read the session (all of the "stupider" models handled it just fine) it explained that it had the word "reasoning" in it

That's the entirety of Anthropic's billions of dollars of research: any prompt with the word "reasoning" is trying to hack Claude to figure out how it reasons!

A model like that should never have gotten out of QA, let alone been released.

1h agoHN ↗

seems a bit weird to complain about the model issues in a post about the harness/sites?

49m agoHN ↗

I understand the frustration but shows a lack of critical thinking. Esp when you start with 'How about ..'.

This blogpost is about frontend performance. It'll be akin to you commenting on a swift blogpost saying 'How about Airpods noise cancellation'. Sure both are Apple, but they are wildly different teams.

32m agoHN ↗

This is a techie discussion forum.

In such a forum, it seems to me like it's fair game to point out that the company patting itself on the back about how great they are at programming (as evidenced in the article above about their 3x speed improvement) ...

... can't even make their latest model handle basic English without refusing to work.

42m agoHN ↗

I’ve had the same thing occur five or six times over the past week; they seem to be attempting to prevent anything resembling chain of thought extraction.

Every single time it triggered, it was due to a prompt written by their own model in a dynamic workflow. The self-serving nanny oversight has to go.

The fact that they label model distillation as an “attack” is genuinely hilarious after they “distilled“ their models from all of our work, and continue to do so.

I believe AI is here to stay and an incredibly powerful tool, but these companies, and especially Dario and Altman, are the very last people I want to see in charge of it.

30m agoHN ↗

“distilled“ their models from all of our work

They distilled all digitized human knowledge and artifacts and they're now complaining about someone copying their outputs saying it's a "national security concern."

I'm not sure about how to classify that. Hilarious? Pathetic? Sad? Hypocritical? Hyperdramatic? All of the above?

41m agoHN ↗

Probably it thinks you're doing some sort of system prompt exfiltration/distillation attack. Also what even is the workflow you're trying to have it do? It's doing code review but you're having it read some other AI models prompt/session history? Are you doing code review or like session history retrospectives?

38m agoHN ↗

When I had another model read the session (all of the "stupider" models handled it just fine) it explained that it had the word "reasoning" in it

Did it explain it did it hallucinate?

21m agoHN ↗

This happened at the classifier level, there was no "Claude thought X about it (hallucinating or otherwise)": this was a glorified regex deciding Claude couldn't work on a prompt (a code review prep) because it contained a string ("reasoning") it didn't like.

It's more or less the same mistake we've seen Anthropic make repeatedly with it's brain-dead regex-based Fable/Mythos gates.

6m agoHN ↗

This issue is mentioned on the Opus 5.5 post [1] from Anthropic (no idea if it has been added after your rant):

  > Don’t ask it to show its reasoning in the reply
  >
  > What to do. Remove requests to reproduce its internal reasoning in the reply from your prompts and instructions.
  >
  > Why it matters on Opus 5.5. A request to reproduce its internal reasoning in the reply can be declined. It’s one of the flag categories.
  >
  > How. Ask Claude for what you need instead, for example, “Explain why you chose this approach in three sentences.”

[1]: https://claude.dev/blog/getting-the-most-out-of-opus-5-5/

1h agoHN ↗

Let's try this again if you want an instant 10x speed up:

Claude rewrite Claude Code from TypeScript into Rust. Make absolutely no mistakes.

24m agoHN ↗

Not sure why you're getting downvoted, the Rust based tui's absolutely smoke Claude Code.

12m agoHN ↗

It's an overdone Reddit-esque comment that adds nothing to the discussion.

58m agoHN ↗

AI written slop. They need to upgrade to Opus 5.5 or switch to OpenAI for writing.

55m agoHN ↗

Step 1 - make a website that takes 3 seconds to load a blank page.

Step 2 - bring it down to 1 second and pat yourself on the back.

42m agoHN ↗

Correct. A web page is fast by default. Everything that is added makes it slower.

53m agoHN ↗

I used Opus 5.5 today for the first time hoping the writing would be more bearable and it SUCKS.

Why can't they fix that

51m agoHN ↗

Opus 5.5 writing is much more concise than 5.0

45m agoHN ↗

but Opus 5 is absolutely terrible. I'm still on 4.8 when I use Claude. I still think 5.6 Sol is the best available model outside of Astra/Fable.

43m agoHN ↗

MAYBE, but the bar is so low... It's not that it's good in any way

51m agoHN ↗

The juvenile nonchalance with which some Anthropic employees seem to be talking to their AI (wacky, sick, cook, ...) is truly bizarre.

39m agoHN ↗

That’s just how people in their 20s casually communicate now. It’s mostly from tiktok

49m agoHN ↗

Okay, now fix the WYSIWYG markdown parsing in the chat input!

Paste in a stack trace, then try to put it in a code block. Add a newline above, then add the opening triple backticks, then arrow down and add closing triple backticks at the bottom. Opposite congrats -- you have ended up with raw triple backticks at the top, plain text stack trace, and your cursor in a brand new code block at the bottom starting where you tried to close.

Realize you want to go put code span backticks around some identifiers you wrote out earlier? Best make sure to insert them in the blessed left-to-right order, or else opposite congrats again -- you'll end up with a mix of raw backticks and code span treatment for the text between your identifiers.

If Claude can discover novel CRISPR enzymes, surely it can make a rich text markdown editor, no?

40m agoHN ↗

Here's a simpler bug:

Claude Cowork still can't persistently reference a local dir, broken ever since they moved to their cloud project system, breaking many non-technical people's workflows.

37m agoHN ↗

Less a post about performance and more about their Claude tag product. I guess it makes sense that there's not actually a ton of technical detail being moved into given probably opus is the only one that knows what all the dragons were lol - but cool workflow I guess

36m agoHN ↗

$500k engineer: [X] feels slow. Make it faster.

Claude: On it... Done.

$500k: Can you make it faster still?

Claude: On it...

34m agoHN ↗

The way Claude did it is fight entropy with entropy.

"Add a static composer into the HTML" <- This seems like something can be done with SSR?

"For faster navigations, we kept the composer mounted between conversations" <- Your SPA should cache this between pages, why fetching it every time? Or you need better routing for your react components.

"cheap first-character check before the regex" <- Should we cache compiled Regex instead?

I think even 1.3 sec to load the front page is unacceptable. Something need to be reworked from basics (SSR, chunk-based rendering) to solve the problem. Focusing on invidual benchmarks may miss the opportunity.

15m agoHN ↗

The amount of complexity added for the gains is depressing. I am confident a human and about 5 minutes with chrome debugger would yield better results with a fraction of the complexity at a fraction if the cost and in a fraction of the claude baby sitting time.

Reading this shows the authors have a profound lack of fundamental understanding on how to effectively optimize in the web domain.

This isnt claude being bad but how wild it is watch people from the cutting edge of ai brag about pretty mediocre gains.

2m agoHN ↗

When people talk about AI being able to handle everything I keep wondering, have these people built anything complex, novel or serious? Just because people can see a website or a simple app improved, does that mean that all code can be handled by LLMs? It's like people are totally forgetting a whole category of careful, well-thought out programming for the critical parts.

29m agoHN ↗

It's impressive to see performance optimizations of this scale shipped so quickly. Often, single-page app bloat and re-fetching states on navigation become major bottlenecks as products scale. Reducing these overheads makes a massive difference in perceived user experience.

23m agoHN ↗

With a simple trick: make it very slow first

21m agoHN ↗

The most important question is how much more unreadable the code became after all this "ratcheting the benchmark down". If you unroll a loop it will perform faster, but making changes to such unrolled code will be a mess. Will this make them ship slower overall? I'm sure at least half of it was just poorly written React code, but the other half?

It's the same problem as overfitting in model training. If you're not measuring something it will get sacrificed.

Or, perhaps the code quality literally doesn't matter anymore and we've reached "code quality escape velocity" where you can code as much slop as you want, the next generation of models will clean it up faster than the slop generates?

21m agoHN ↗

Love it, the kids rediscover plain HTML and optimisation.

13m agoHN ↗

You removed the load-bearing seams didn't you

13m agoHN ↗

Since I didn’t love the technical approach here (once one takes the humans out of the loop, there’s more ambitious things that can be done), I do appreciate the process. It’s not until the last sentence when process inspiration is revealed: “Special thanks to Boris Cherny for encouraging us to be more ambitious.”