116 points matthieu_bl 2 hours ago 72 comments
minimaxir 2 hours ago | parent
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.
sonar_un 2 hours ago | parent
chaordCAD 2 hours ago | parent
applfanboysbgon 2 hours ago | parent
sashank_1509 2 hours ago | parent
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!
applfanboysbgon 1 hour ago | parent
adamddev1 59 minutes ago | parent
bigwheels 1 hour ago | parent
AI coding agents of today definitely bloat things up [egregiously].
theshrike79 1 hour ago | parent
winstonp 1 hour ago | parent
Daishiman 1 hour ago | parent
applfanboysbgon 1 hour ago | parent
hungryhobbit 2 hours ago | parent
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.
railgunmerlin 2 hours ago | parent
bitpush 1 hour ago | parent
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.
hungryhobbit 1 hour ago | parent
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.
jfidjcjwjcjwjd 30 minutes ago | parent
frumplestlatz 1 hour ago | parent
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.
copperx 1 hour ago | parent
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?
vikramkr 1 hour ago | parent
post-it 1 hour ago | parent
Did it explain it did it hallucinate?
hungryhobbit 1 hour ago | parent
It's more or less the same mistake we've seen Anthropic make repeatedly with it's brain-dead regex-based Fable/Mythos gates.
post-it 1 hour ago | parent
How do you know? How would the stupider model know?
nfcampos 35 minutes ago | parent
dolmen 1 hour ago | parent
> 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/rvz 2 hours ago | parent
Claude rewrite Claude Code from TypeScript into Rust. Make absolutely no mistakes.
datadrivenangel 1 hour ago | parent
binlog 1 hour ago | parent
Step 2 - bring it down to 1 second and pat yourself on the back.
airstrike 56 minutes ago | parent
Take the goat out and your life will improve right away!
Razengan 38 minutes ago | parent
jfidjcjwjcjwjd 37 minutes ago | parent
schoen 33 minutes ago | parent
whythismatters 1 hour ago | parent
ieie3366 1 hour ago | parent
kylecazar 24 minutes ago | parent
It doesn't seem like a big deal at all on the surface, but I do start wondering why someone who presumably knows how these models work would engage like that
tantalor 2 minutes ago | parent
montroser 1 hour ago | parent
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?
AlexErrant 1 hour ago | parent
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.
vikramkr 1 hour ago | parent
pllbnk 1 hour ago | parent
> Claude: On it... Done.
> $500k: Can you make it faster still?
> Claude: On it...
smy20011 1 hour ago | parent
"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.
rustystump 1 hour ago | parent
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.
adamddev1 1 hour ago | parent
whatisthiseven 37 minutes ago | parent
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.
theolivenbaum 27 minutes ago | parent
owebmaster 1 hour ago | parent
RomanKornev 1 hour ago | parent
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?
jackb4040 39 minutes ago | parent
khalic 1 hour ago | parent
hmokiguess 1 hour ago | parent
rancar2 1 hour ago | parent
j45 1 hour ago | parent
simonw 58 minutes ago | parent
(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.)
geroge_kyaw 45 minutes ago | parent
devin 43 minutes ago | parent
dude250711 37 minutes ago | parent
techpression 35 minutes ago | parent
tombot 7 minutes ago | parent