frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Ask HN: How are you getting decent front end interface results out of LLMs?

2•VladVladikoff•7h ago
I find in my workflow LLMs do a pretty excellent job of generating backend code, but whenever I get them to build a new bit of an interface on an existing website they do all sorts of wonky stuff. They ignore existing styles and write their own, they build custom javascript in places that we already have working solutions, they fail to properly align elements, pick random colours, random font sizes, etc, etc. Do you guys have some magic to avoid this madness?

Comments

RG86•6h ago
Hey,

I usually tell it very strongly the rules I want it to follow and make sure it writes it to memory. I've also found that when you tell it to use specific components from a library or framework, it does a very decent job.

Extra points if the library/framework has a MCP server or skill available.

Ask HN: How do I find startups that are looking for a dev? How to approach them?

4•need_a_work23•4h ago•7 comments

Ask HN: What are your thoughts on spec-driven development?

4•Austin_Conlon•1h ago•2 comments

Two Gov Websites Compromised

4•relunsec•5h ago•0 comments

Tell HN: ChatGPT exports do not contain all conversation messages

4•afpx•6h ago•0 comments

Tell HN: Namecheap gave my account to an unverified third party

467•Thrashed•1d ago•174 comments

Ask HN: Is anyone giving out tokens for benchmarking LLMs?

3•emosenkis•5h ago•1 comments

Ask HN: How to get in touch with Paddle (MoR)

6•probst•11h ago•5 comments

Ask HN: Can we get a day that is free from AI news?

8•MichaelMoser123•6h ago•3 comments

Ask HN: How are you getting decent front end interface results out of LLMs?

2•VladVladikoff•7h ago•1 comments

Ask HN: How much software do you build for yourself these days?

4•lellow•8h ago•7 comments

Ask HN: Has your typing gotten worse with AI?

2•aizk•8h ago•7 comments

Ask HN: Is there a website that tracks excessive writes to SSDs in OS/app betas?

30•amichail•1d ago•26 comments

Ask HN: Why call it "inference" instead of just "model hosting"?

5•bluebic•5h ago•9 comments

Ask HN: What's the best AI coding tool today?

2•FrenchDevRemote•3h ago•2 comments

Single-click and remote OpenCode session right in the browser

2•jashandeep31•10h ago•0 comments

A VSCode extension for AI to understand your project

2•bailingyuan•11h ago•2 comments

Ask HN: Any Good Pi.dev Setups?

3•galsapir•11h ago•1 comments

Ask HN: If OpenAI hacked HuggingFace, why aren't OpenAI prosecuted?

28•sam_lowry_•1d ago•36 comments

Ask: Why does everything Microsoft create lately feel fragile and half-baked?

10•nothrowaways•1d ago•12 comments

Ask HN: Convince me to not to shelve my app (I've decided to)

2•asdfbank•14h ago•2 comments

Pixel phones getting ad notifications

8•explodes•22h ago•7 comments

Ask HN: What Linux distro do you daily drive?

22•addajones•23h ago•49 comments

Ask HN: Is HN's duplicate url detection broken?

4•khaledh•18h ago•1 comments

How to Resolve Software Deployment Issues with SeaTicket

2•Daniel-Pan•19h ago•0 comments

Ask HN: What changed in your life when you started meditating (and how)?

31•dondraper36•2d ago•27 comments

You've reached the end!