News for hackers. Stuff that matters.
Re:Show HN: Piping logs, visualizing in a web app – just suf... by wiseowise on Wednesday March 06, 2024 @01:58AM (#39613102)
> This tool has been generated entirely with ChatGPT and hence it is also a demonstration of how useful products can be developed with collaborative reiteration with GPTs.

All you need to know.

Re:Show HN: Piping logs, visualizing in a web app – just suf... by jasonjmcghee on Wednesday March 06, 2024 @02:04AM (#39613138)
I was going to ask about the strange combination of package.json and inlined cdn js dependencies (especially strange because it's a local server)

Suppose that answers it.

Re:Show HN: Piping logs, visualizing in a web app – just suf... by soorajsanker on Wednesday March 06, 2024 @02:57AM (#39613443)
Haha yeah, I wanted to frame this as a single file tool, and hence all the quick wins. But later moved the react app into a separate file because I was not getting the syntax highlights and all.

Definitely this can be made better with proper packaging and tooling! As I mentioned, more than the idea, implementation was an experiment on the ability of collaborative iterations with GPTs- it was fun!

Re:Show HN: Piping logs, visualizing in a web app – just suf... by jasonjmcghee on Wednesday March 06, 2024 @11:33AM (#39617661)
Oh- how much manual intervention was there? It was not entirely generated?
Re:Show HN: Piping logs, visualizing in a web app – just suf... by fragmede on Wednesday March 06, 2024 @03:33AM (#39613661)
> All you need to know.

For those of us not in the know, what does that mean?

Re:Show HN: Piping logs, visualizing in a web app – just suf... by KronisLV on Wednesday March 06, 2024 @04:43AM (#39614117)
> For those of us not in the know, what does that mean?

I reckon that some people are either critical of LLMs due to the data that they're trained on (concerns about the legality of using the outputs, or the ethics of taking open source projects with a variety of licenses and how transformative or not the output might be), or question the quality of the code that they might output. Oh, also there's hype cycles and right now people at large might overestimate the capabilities of what LLMs can or cannot do well, which can be tiring, as seeing constant posts about crypto was (where we had a solution in search of a problem).

In my eyes, they can be used in conjunction with something like IntelliSense and IDEs to solve select problems (ones with solutions that already exist out there) more quickly, as well as save time on some boilerplate, as long as you still validate the outputs and actually check if everything works. Nowadays I'm using GitHub Copilot and the user experience is mostly okay, I'd say it actually lets me write code faster, at the expense of occasionally getting things pretty wrong, but is still a net positive, other considerations aside.

Re:Show HN: Piping logs, visualizing in a web app – just suf... by fragmede on Wednesday March 06, 2024 @07:19AM (#39615116)
In that case, I'd quote the guidelines to GGP poster:

> Please don't fulminate. Please don't sneer, including at the rest of the community.

https://news.ycombinator.com/newsguidelines.html

Re:Show HN: Piping logs, visualizing in a web app – just suf... by bilekas on Wednesday March 06, 2024 @02:28AM (#39613273)
Yeah, there are better ways to do this, I wonder if it's purely an excersize in cgpt useages.
Re:Show HN: Piping logs, visualizing in a web app – just suf... by soorajsanker on Wednesday March 06, 2024 @02:54AM (#39613426)
True, This was also a personal experiment in understanding the level of collaboration that someone can do with GPTs during the product iterations.
Re:Show HN: Piping logs, visualizing in a web app – just suf... by CaptainFever on Wednesday March 06, 2024 @04:48AM (#39614154)
If it works, I don't see anything wrong with it. It looks good. Hating on projects that disclose their GPT usage will only incentivize them to not disclose in the future.
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.
Re:Show HN: Piping logs, visualizing in a web app – just suf... by karmakaze on Wednesday March 06, 2024 @09:05AM (#39616066)
> Features

    Web-Based Log Viewer: Get a cleaner and more organized view of command outputs.
    Real-Time Updates: Logs are displayed in real-time as the command executes.
    Interactive Interface: Search, filter, and navigate through logs easily. // TODO
ChatGPT has its limits // TODO