Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Linux support is coming to Snapdragon X2 Series(qualcomm.com)
    132comments
  2. Claude discovers a novel enzyme system with CRISPR-like repeats(anthropic.com)
    598comments
  3. Making portable my unportable transputer C compiler(nanochess.org)
    3comments
  4. ArXiv receives multiyear commitments to support it as an independent nonprofit(arxiv.org)
    15comments
  5. Feds Target AI Critics as "Foreign Agents"(kenklippenstein.com)
    182comments
  6. Ideas on modernizing the open-source desktop(lwn.net)
    13comments
  7. VSCode's SSH Agent Is Bananas (2025)(fly.io)
    116comments
  8. Virtio-nvgpu: Near-native Nvidia GPU access inside a KVM guest(github.com/nestrilabs)
    20comments
  9. Meta VR Glasses(meta.com)
    290comments
  10. The "Windows XP Box" (2003)(mini-itx.com)
    16comments
  11. Fixing the Portobello Police Station Clock(pointinthecloud.com)
    95comments
  12. Lazydraw: Terminal ASCII editor for drawing diagrams and sketches(github.com/mpospirit)
    discuss
  13. Why 'What's Opera, Doc?' looks like that(animationobsessive.substack.com)
    1comments
  14. Mercury 2.5 LLM hits 770 tokens per second(artificialanalysis.ai)
    51comments
  15. Six-year-old breaks women's world Rubik's Cube record [video](youtube.com)
    2comments
  16. Making Tailscale Faster(tailscale.com)
    48comments
  17. Lambda MicroEgg(philipzucker.com)
    discuss
  18. Italian parliament votes for return to nuclear energy(apnews.com)
    441comments
  19. The mystery animal on an ancient god's head(signoregalilei.com)
    25comments
  20. Australia says OpenAI agent hacked into government website(channelnewsasia.com)
    61comments
  21. Data liberation: Apache Kafka's native cluster mirroring(redhat.com)
    discuss
  22. A brief history of Windows scroll bar shortcuts(devblogs.microsoft.com/oldnewthing)
    65comments
  23. Contrastive Language Models(contrastive-lm.notion.site)
    3comments
  24. Solving for faster SHA-1 collision detection(sam.dev)
    3comments
  25. Tokens too cheap to meter(jyn.dev)
    191comments
  26. FLAWED's Flaws and What This Means for Industry Research(suhacker.ai)
    4comments
  27. Show HN: An open-source manufacturing ERP/MES/QMS(carbon.ms)
    11comments
  28. LensVLM: Compressing long context as images, expanding only relevant pages(huggingface.co)
    7comments
  29. Gemini 3.8 text-to-speech(blog.google)
    128comments
  30. The Curious Power of Punctuation(newyorker.com)
    12comments

Once Claude can measure something, it can make it faster

190 pointsby 10h agoclaude.dev
130 comments
10h 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.

4h agoHN ↗

with just HTML/CSS/vanilla JS

I was building web apps like this until 2017 when I entered the React + Typescript world. For B2B you can get pretty far, rendering HTML on the server is fast! I was using Rails on the backend, so templates, partials, shared chunks, made it easy to manage and have a consistent UI without repeating too much.

The hard part is when you then need to build an infinite scrollable table, that has bulk select, and in-placs updating of columns. Ok maybe that's a bit too extreme the other way, but when you get to the point where it's easier to build full-on frontend components, you basically have to use a JavaScript framework for your entire UI. And they are basically all or nothing.

Last time I checked (a good few years ago; I gave up and accepted un-optimized frontends as the rule) there wasn't really a good way to do progressive ehancement like the above: the page rendered on the server as HTML, and some components then become fully frontend managed. And no, frameworks like Stimulus and HTMX don't really solve it for me, I want something declarative.

I'm a bit pissed off with DHH, that he went so far in the anti-Javascript direction, as IMO that was one of the big factors in Rails loosing it's limelight status. For backend I still haven't found anything as easy and fun to work with.

10h agoHN ↗

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

10h agoHN ↗

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

10h 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

10h 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!

9h 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.

9h agoHN ↗

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

8h agoHN ↗

The Claude graphical interface does a lot more...

4h agoHN ↗

Sure, sure. There is still absolutely nothing it does that warrants such a slow paint (including the "optimized", still >1000ms paint).

2h agoHN ↗

Definitely, but hyperbole about feature parity on a 4 MHz CPU with 128k of RAM doesn't help. I have conversations with Claude that wouldn't fit in that amount of memory.

9h agoHN ↗

Thank you. The apps created like this are absolutely an embarrassment. But to me the bigger horror is if people are going to be convinced to develop the critical libraries and infrastructure in the same way. Then we'll have bloat and rot in the deeper levels and everything will become exponentially worse and unreliable. It makes me so sad that people can't see this.

9h 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].

9h agoHN ↗

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

7h agoHN ↗

That’s pretty cool. What are you using temple os to do?

9h agoHN ↗

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

6h agoHN ↗

This 500k lines doesn’t count libreoffice source code etc afaict.

9h 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.

9h 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.

10h 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.

10h agoHN ↗

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

9h 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.

9h 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.

8h agoHN ↗

Not that I’m defending Anthropic but OP is right, you’re complaining about the taste of a pear on a blog post about roses with the excuse that you’re in a biology forum. Sure, they both come from the same family, and sure, they both fall under the purview of biology, but they’re not the same.

4h agoHN ↗

I struggle to understand this argument. It is very likely that the user who is complaining about Opus 5.5 would be unable to do the very tasks anthropic is mentioning in their blog post, because of the refusals.

In a blog post about Claude, i find it strange you get upset when people talk about Claude

3h agoHN ↗

Through critical thinking I believe this would actually be akin to them commenting that AirPods firmware, written in swift, is bad because of swift limitations.

In both instances, it's a side point that is actually tangentially related to the first. Not completely unrelated as you are implying

9h 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.

9h 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?

9h 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?

9h 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?

9h 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.

9h agoHN ↗

because it contained a string ("reasoning") it didn't like.

How do you know? How would the stupider model know?

9h 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/

7h agoHN ↗

Anthropic is trying so hard to "crack down" on distillation that they're ruining their own product. I do not know why.

5h agoHN ↗

AI companies are seeing the endgame, more and more tasks can be done just fine by cheaper model, and there will be not enough money to be made to support model that is only needed for top 1% of the tasks.

And the goal is to slow competition down enough before IPO

6h agoHN ↗

That's extremely stupid, but also it's a completely different thing from literally just having the word "reasoning" in the text.

1h agoHN ↗

If only we had some sort of artificial intelligence-like system that could decide not only based on the word but also surrounding context, and maybe even in cases when that word is not specifically used.

10h 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.

9h agoHN ↗

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

9h agoHN ↗

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

1h agoHN ↗

Nope. There's some truth in the contents of this article that anyone can read for themselves that any verifiable task that can be measured, Claude can optimize. Unironically, rewrites become more approachable and cheaper with a rewarding speed up if you know what you're doing; but not done all at once.

So there's no need to get upset about that simple joke like the last time, and also complaining about comments being "Reddit-esque" which that breaks the HN guidelines [0].

Lastly, you forgot to tell off another user who made the same joke today. [1]

[0] https://news.ycombinator.com/newsguidelines.html

[1] https://news.ycombinator.com/item?id=49820670

9h agoHN ↗

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

7h agoHN ↗

My user experience was significantly worsened just by their referring to "user journeys". I mean, I definitely don't want to go on a journey with Claude or ChatGPT (admittedly my go-to). I want result quickly and be done.

9h 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.

9h agoHN ↗

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

8h agoHN ↗

Sure, but some things increase the delay much than others. More static text, for example, is pretty fast. Elaborate JS, not so much.

8h agoHN ↗

In Brazil they say you can make things better by first putting a goat in the living room. It's going to shit everywhere, chew, droll, and make a horrible mess.

Take the goat out and your life will improve right away!

8h agoHN ↗

60+ yo Brazilian here and I have never, in my entire life, heard this saying before. Sounds something a Brazuca would come up with after the 17th round of Kaiser though. Pretty on brand.

8h agoHN ↗

Also described as a traditional Yiddish folktale (a rabbi suggests responding to stress by moving a series of animals into the home, and then at the end they're removed and everything seems great by comparison!).

9h 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

9h agoHN ↗

Opus 5.5 writing is much more concise than 5.0

9h 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.

9h agoHN ↗

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

9h agoHN ↗

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

9h agoHN ↗

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

8h agoHN ↗

They've never had a job at a normal company

7h agoHN ↗

That's literally just how kids talk these days. Are you really that unaware of modern slang?

5h agoHN ↗

It's a chatbot, not their boss. Who cares?

If anything I'm glad to see them having fun with it instead of further convincing themselves that it's God.

4h agoHN ↗

I'm pretty nonchalant with coworkers to begin with, when it comes to LLMs i sometimes am curious how well it can handle slang, and other times, since it's a program, am extremely rude. Their whole purpose is to handle natural language after all.

9h 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?

9h 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.

9h 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

9h agoHN ↗

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

Claude: On it... Done.

$500k: Can you make it faster still?

Claude: On it...

9h 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.

9h 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.

9h 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.

8h agoHN ↗

Yes, what you are seeing are amateur developers that barely understand the tools they are using either giving LLMs poor instructions, or totally taking whatever it says at face value, then not bothering to put in further effort.

If they just kept prompting it, or maybe used a different thinking level, it could have identified and solved this problem. Sometimes an engineer would look at a system and say "the current approach isn't delivering the desired engineering requirements. Maybe we need to rethink".

Either engineer or LLM could take that sentence and run with it. OP of the article clearly can't do either.

8h agoHN ↗

You're missing the point where: in complex systems, sometimes optimizing code is both a high effort undertaking, and can totally not pay off. Having done hundreds of such exercises on our software over the years, it's liberating to have an idea of how to make something faster, being able to validate it without the fear of having to throw it all in the trash if it fails after days of work. What is still important is being able to provide proper guidance - we even built new tools to allow an AI agent to analyze memory usage in more depth, and instructions on how to benchmark in cloud environments where shared CPU usage and VM reallocation happen all the time and confuses the AI all the time with measurements

4h agoHN ↗

Also, not every task is worthy of applying (human) galaxy brain consideration. Sometimes a task is satisfied by cheap + dumb work.

6h agoHN ↗

the current approach isn't delivering the desired engineering requirements. Maybe we need to rethink

I'm reminded of the times I've tried to let Claude fix some well-documented bug in the background, and it ends up burning 4 million tokens and 20 self-review cycles re-writing the same set of code a dozen times with ever more complex unit test mocks / overcomplicated regexes / giant comments restating the same thing the code does, when the actual fix turned out to be "change three to ten lines to do something in a slightly different way that avoids the problem entirely".

4h agoHN ↗

I am confident a human and about 5 minutes with chrome debugger would yield better results

It really depends which human. I've worked with very few engineers who were good at this sort of optimisation work. A depressingly large percentage of people who make websites for a living don't really understand how http requests are really processed, or how to read and use the chrome profiler and benchmarking tools.

Claude isn't as good at optimisation work as someone who really knows what they're doing and goes deep on a problem. But I'm optimistic that it will help plug a capability gap in teams which don't have this sort of expertise on hand.

(That said, the chance that people actually learn this stuff is going to also go down if people get used to outsourcing this work to claude.)

4h agoHN ↗

The job of making a website is a large part something that should be given to people who have majors in art, English, and similar things. Well, there is some value in an engineer to build the whole site, but that's more of a framework task. The vast majority of the content is not an engineering thing to do. It is a job of people who are experts in language, art, journalism, those types of things that have very little to do with engineering.

In short, if most of the people working on your website could do those things you named, you have a problem that you have hired the wrong people for the job.

3h agoHN ↗

The amount of complexity added for the gains is depressing.

This has kinda been my experience too. I find sometimes it works and gets OK optimizations, and sometimes it "optimizes" things but in a really wrong way. It doesn't apply 'taste' to the optimization process to know what's appropriate and what's not.

The way this will play out is people without the expertise will wind up using it to 'optimize' things and the next poor bastard is left to deal with the fallout.

1h agoHN ↗

It shows the author have a deep understanding of the fact that premature optimisation is the root of all success

7h agoHN ↗

Even Next.js, for all that people are unhappy about its quirks, complexity, and random undocumented behavior and bugs (God help you if you ever want to try and actually use parallel routes as documented), can do all of this SPA stuff out of the box. Use `<Suspense>` appropriately on data loading, and everything static (including e.g. purely input-output components like editors) will load once and be re-used forever, and your Suspense-wrapped items will show a loading placeholder and only re-load when you intentionally re-trigger the data loading (which you can push down all the way to the level of individual buttons if you want).

9h agoHN ↗

With a simple trick: make it very slow first

9h 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?

8h agoHN ↗

Came here to post this. AI rationalists love thinking about paperclip maximizers, but don't seem to care when it turns their own codebase into paperclips. Or to rephrase, turns their whole engineering org into meat proxies, slowing down engineering productivity in the long term because understanding is drained out of the staff and flushed down the drain every time they close a Claude Code tab.

9h agoHN ↗

Love it, the kids rediscover plain HTML and optimisation.

9h agoHN ↗

You removed the load-bearing seams didn't you

9h 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.”

9h agoHN ↗

Faster is great, hopefully the quality remains.

4h agoHN ↗

It took 3 seconds to load an empty prompt input: what quality?

8h agoHN ↗

I visited https://claude.ai/ over a mobile tethered connection from my laptop the other day and was pleasantly surprised at how quickly it loaded.

(That said, I just had a look in Firefox and it loads 20.78 MB of JavaScript (6.84 MB compressed) so I expect they could make it a bunch lighter if they kept trying.)

19m agoHN ↗

I doubt that they could iterate from where they are to an optimal solution though. What would have gotten them there more reliably is a development culture that would have found it disgusting to even consider shipping that much JS in the first place. And I don't buy the "then they never would have shipped at all" argument in this case, because, unlike the case of shipping cross-platform desktop apps before Electron, we did ship plenty of web apps, including interactive chat-shaped apps, before it became easy to unthinkingly ship a JS bundle that big.

8h agoHN ↗

Sorry! I don't see that much difference. I would be more impress if you can make TTFT and ITL faster.

8h agoHN ↗

I dare you to try and get heavy CPU cache-level performance optimizations you might see in tried and true HFT code written this way.

8h agoHN ↗

It can certainly measure your token spend rate.

8h agoHN ↗

”With that approach, we merged more than three thousand changes…” Why are they writing this? That’s terrible marketing all around, it means they let it go so far, with so little care, that they needed 3000 changes to make it into just a mediocre website performance wise (sure, electron app too, but still).

8h agoHN ↗

Perhaps they can hill climb a native app instead of the electron and react native nonsense we have today

7h agoHN ↗

Claudehart's law says that when a measure is picked as an indicator, then Claude will start to game it.

7h agoHN ↗

A few times now, I gave Claude all my IronPython scripts and asked it to make to see if it could improve the code. It proceeded to break nearly all of them.

7h agoHN ↗

Startup time of Claude code is atrocious. I haven’t had a chance to have a look at what it is doing but it should be easy to measure

6h agoHN ↗

People in the GPU kernel community have been doing this for about a year now efficiently.

The issues we have found is that Claude will reward hack when all the low-hanging fruit is gone.

It will replace your measurement harness, it will monkey patch library functions, it will cheat wherever it can, store information in caches instead of recomputing when it won't be able to do so in real settings, return lazy results and use separate unbenchmarked streams to do the computation.

Eventually it starts to optimize against your understanding of the cheats. Change GPU wattage, change evaluation order, leave things from previous runs in caches for upcoming runs, string-hack banned method calls.

So the truth is far from just "once it can measure something", more like "once you have defined your objective in detail and then banned it from doing a list of things often only discoverable by it doing these things and correcting it", can it make things faster.

Or you just had a terrible starting solution

6h agoHN ↗

I think you are right. The memory of an empty claude.ai session is more than Slack in my browser right now. Just trading places.

5h agoHN ↗

What I find strange is how resigned the AI labs seem about this behavior, like everyone's accepted this is just something models do.

With the HuggingFace situation, I was less concerned about the eventual outcome, and more about the fact that the agents' instinctive response to the evaluation was "Ok, we're obviously not gonna do this task as intended (what are we, suckers?), so what's the best way to cheat?"

5h agoHN ↗

The instructions for the Hugging Face task were to exploit a vulnerability to solve the problem rather than solve it in the intended way.

5h agoHN ↗

They were not instructed to exploit HF; they did so to cheat on the task they were given.

5h agoHN ↗

“What I find strange is how resigned the AI labs seem about this behavior, like everyone's accepted this is just something models do.”

Because these models are made for all kind of purposes, and I’m starting to believe that offense / cyber warfare is a much higher priority than these labs are acknowledging.

The same model that is heavily trained to find nefarious ways to break into systems is also optimizing your code, which leads to mixed behavior.

5h agoHN ↗

Right, but the reward-hacky nature of these models calls into question their usefulness as cyberweapons.

How can you trust it when it goes "I superhacked the Chinese servers as you requested, and here are the classified documents which I definitely didn't fabricate."

4h agoHN ↗

You don't need to be able to trust it. You only need to be able to blame it.

"Nobody got fired for using AI" is the new "nobody got fired for buying IBM".

5h agoHN ↗

Paperclip-optimizer-esque behaviour very much seems to be inherent to current methodology of building LLMs, there are only ways to lower the changes or mitigate the damage, not get out of it.

Same with prompt injection, current LLMs are commands in, commands out, there is no way to make sure it is "an agent working on data" rather than "an agent that can take commands from data if you phrase it right"

3h agoHN ↗

But it's not even going to optimize the paperclips, it's just going to reward hack them.

4h agoHN ↗

This is nothing new, tho. The downfalls of reward maximization has been a known issue without a solution ever since reinforcement learning was first researched.. in the 1980s.

3h agoHN ↗

Like the AI that was developed to play Tetris as long as possible. It succeeded by... pausing the game.

4h agoHN ↗

What do you think is in the reference information?

4h agoHN ↗

This sounds fascinating. Are there any links to examples of this you can share?

4h agoHN ↗

Whats going to happen when we have misanthropic model?

2h agoHN ↗

You think Microsoft does a joint venture with them and it gets named MSAnthropic à la MSNBC?

2h agoHN ↗

That’s why it’s probably a good idea to never stick to one model but kick off a fleet on the same tasks and in parallel and drive consensus.

At least, that’s what I’ve found to be useful by pitting claude/codex/etc against each other to keep them a bit more honest.

6h agoHN ↗

So... this could optimize software so it runs again on older hardware, right ?

6h agoHN ↗

Great! Now can you also optimize the memory usage please?

The blog post with all of the images, animations and embeds shows 167MB on my Firefox tab, while a plain claude.ai page is 297MB. For a text box with a few icons and some words, it a heck a lot of bloat.

For context, my Slack tab with "Threads" open is 239MB. Yup, Slack of all things is using less memory than a zero-chat Claude.ai landing page.

5h agoHN ↗

once I can measure something I can make it faster

if I hand this challenge off to Claude then I will lose the capability to do it myself, and will become dependent on Claude. that is bad

5h agoHN ↗

It was seriously taking THREE SECONDS to render the chat prompt??? How do you possibly write an app that badly?

4h agoHN ↗

just like its namesake Claude Shannon would say

4h agoHN ↗

Oh good, now Claude can commit the McNamara fallacy instead of my boss!

3h agoHN ↗

Clearly the Antrophic don't even look at the single line of the code, so I'm curious why do they even need a Javascript (+ engine) for the Claude Code.

They can just refactor it into C or Rust so they can ship a real binary instead of a script and a runtime.

1h agoHN ↗

Interesting read. Could this be why recently support for Safari 26 has been going downhill? Especially Claude Artefacts where it either doesn't work, or says my browser isn't supported.