News for hackers. Stuff that matters.
Re:How to not use AI to code for you by Hackbraten on Tuesday June 10, 2025 @04:55AM (#44234278)
> Its just trivial problem like centering things in CSS

Maybe it’s not trivial for them?

How do you know they weren’t trying to learn?

Re:How to not use AI to code for you by juliendorra on Tuesday June 10, 2025 @05:20AM (#44234455)
I have been using CSS since, well, they were invented back in 1995 but not continuously (when I need them). And I can never remember how to properly center things or how to do a lot of supposedly simple things. The specs has a lot of confusing naming (the naming have some logic, but nevertheless a confusing) and of course a lot of interrelated effects.

We used to have css editors that helped.

But I’m glad LLMs can now write CSS for me, and it nearly works perfect every time (I sometimes have to dig and fix things, and to push it to use the latest specs not old obsolete tricks)

Re:How to not use AI to code for you by mewpmewp2 on Tuesday June 10, 2025 @05:07AM (#44234360)
It may be trivial now with flex... But back then, let me tell you...
Re:How to not use AI to code for you by Klaster_1 on Tuesday June 10, 2025 @05:24AM (#44234498)
You still have to remember which flex property to use, unless it's something trivial like `margin: auto`. I always have to find the right combination in DevTools first before commuting to changing the stylesheet, even after extensively working with flex since its inception.
Re:How to not use AI to code for you by alternatetwo on Tuesday June 10, 2025 @05:20AM (#44234459)
Back then we had tables!
Re:How to not use AI to code for you by mandaputtra on Tuesday June 10, 2025 @08:44AM (#44236145)
I know because I had a chat with him. Why not experimenting a bit instead of saying on and on again to LLM that the things are not center yet?

I know centering things in CSS can be a lot harder than it seems.