News for hackers. Stuff that matters.
Re:Canvas is a new way to write and code with ChatGPT by elashri on Thursday October 03, 2024 @04:28PM (#41734631)
In your landing page it says about competitors

> They're not wasting hours trying to "figure out" a solution

I am pretty sure that we don't have AGI that would figure our solutions to our problems (coding or not) on its own yet. And from experience, you would need to solve the problems at least conceptually before using LLM and try to get something useful out of that.

Re:Canvas is a new way to write and code with ChatGPT by rglover on Thursday October 03, 2024 @04:41PM (#41734759)
Depends on scope, but Parrot is tuned to decently one-shot a lot of stuff.

For example, I need to implement HTTP/2 in my JS framework and was curious about what the code would look like. Here's the result from the following prompt: https://www.imghippo.com/i/xR2Zk1727987897.png (full code it gave me here: https://gist.github.com/rglover/069bdaea91c629e95957610b484e...).

Prompt:

> Help me implement an HTTP/2 enabled server using Express.js.

---

When I initially researched how to do this just following the Node.js docs, Google results, and SO, it was fairly confusing (easily wasted an hour or two). This immediately gave me what I needed to understand the approach in a few seconds.

Re:Canvas is a new way to write and code with ChatGPT by elashri on Thursday October 03, 2024 @04:57PM (#41734914)
I am not a nodeJS developer but it was interesting that the first results from a kagi search was SO question that had one of the answers that contains a code very similar to what you provided here [1]. So while you might be right in general, I still think you still gave an example of that you used LLM tool to help implementing a solution. You actually knew that you want to implement http/2 using express.js.

Hint: I am not sure whether this is a good solution or not. As I said I am not a nodeJS developer.

[1] https://stackoverflow.com/questions/59534717/how-to-integrat...

Re:Canvas is a new way to write and code with ChatGPT by rglover on Thursday October 03, 2024 @05:06PM (#41734994)
If you want to take it for a test drive, Parrot is free to try and works with any language (~200+ languages and frameworks supported), not just JS/Node. I'd also be happy to give you some extra generation tokens to push the limits (just email me w/ your username [email protected] and I'll hook you up) and see if it'd be useful.