News for hackers. Stuff that matters.
Re:Show HN: Piping logs, visualizing in a web app – just suf... by h1fra on Wednesday March 06, 2024 @05:47AM (#39614514)
As much as I love to hate on chatgpt engineer, the code is definitely okay; not much difference from a project you would write quickly in a single weekend.
Re:Show HN: Piping logs, visualizing in a web app – just suf... by oneeyedpigeon on Wednesday March 06, 2024 @05:54AM (#39614555)
The first thing that struck me when I looked at some of the code was:

    <div className="flex items-start border-b border-gray-300 py-2 hover:bg-blue-100 cursor-pointer transition-all"
I'm not saying that humans never come up with this kind of crap, but it feels like it's going to be a LOT more common the more we resort to AI. I wonder if "... and make the code easy-to-read so that it's maintainable in future" is ever included in prompts for LLM-generated code.
Re:Show HN: Piping logs, visualizing in a web app – just suf... by Kiro on Wednesday March 06, 2024 @05:55AM (#39614561)
That's just Tailwind and exactly how my HTML looks as well.
Re:Show HN: Piping logs, visualizing in a web app – just suf... by janpmz on Wednesday March 06, 2024 @06:04AM (#39614619)
I'm a clean code guy and tailwind made my code look terrible. But I gave it a chance because I heared so many positive things about it. Now I'm happy with it. I don't have to jump around from HTML to CSS and back to HTML.
Re:Show HN: Piping logs, visualizing in a web app – just suf... by agos on Wednesday March 06, 2024 @06:04AM (#39614623)
that's the horror of Tailwind for you, which is different from the horror of AI
Re:Show HN: Piping logs, visualizing in a web app – just suf... by addandsubtract on Wednesday March 06, 2024 @09:21AM (#39616227)
Software development is horror all the way down. The sooner you embrace the horror, the easier life gets.
Re:Show HN: Piping logs, visualizing in a web app – just suf... by chrissoundz on Wednesday March 06, 2024 @09:09AM (#39616103)
That is just tailwind CSS, one the most common CSS libs out there I would think. Your comment is actually a lot more telling of something as opposed to this AI written project though.