News for hackers. Stuff that matters.
Re:Gemini 2.5 Pro Preview: even better coding performance by amarcheschi on Tuesday May 06, 2025 @11:30AM (#43906271)
i'm surprised by no line of css html in months. maybe it's an exageration and that's okay.

However, just today i was building a website for fun with gemini and had to manually fix some issues with css that he struggled with. as it often happens, trying to let it repair the damage only made it go into a pit of despair (for me). i fixed the issues in about a glance and 5 minutes. This is not to say it's bad, but sometimes it still makes absurd mistakes and can't find a way to solve them

Re:Gemini 2.5 Pro Preview: even better coding performance by PaulHoule on Tuesday May 06, 2025 @12:01PM (#43906649)
I have pretty good luck with AI assistants with CSS and with theming React components like MUI where you have to figure out what to put in an sx or a theme. Sure beats looking through 50 standards documents (fortunately not a lot of "document A invalidates document B" in that pile) or digging through wrong answers where ignoramuses hold court on StackOverflow.
Re:Gemini 2.5 Pro Preview: even better coding performance by ramesh31 on Tuesday May 06, 2025 @01:00PM (#43907296)
>"just today i was building a website for fun with gemini and had to manually fix some issues with css that he struggled with."

Tailwind (with utility classes) is the real key here. It provides a semantic layer over CSS that allows the LLM to reason about how things will actually look. Night and day difference from using stylesheets with custom classes.